Re: [PATCH 1/2] Fix reset of lvm filtering (#527711)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/storage/devicelibs/lvm.py b/storage/devicelibs/lvm.py
> index 2cae3c9..fb9482b 100644
> --- a/storage/devicelibs/lvm.py
> +++ b/storage/devicelibs/lvm.py
> @@ -100,9 +100,10 @@ def lvm_cc_addFilterRejectRegexp(regexp):
>      _composeConfig()
>  
>  def lvm_cc_resetFilter():
> -    global config_args_data
> +    global config_args, config_args_data
>      config_args_data["filterRejects"] = []
>      config_args_data["filterAccepts"] = []
> +    config_args = []
>  # End config_args handling code.
>  
>  # Names that should not be used int the creation of VGs

This looks fine to me, though I would prefer to get dlehman's opinion on
it.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux