FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Desktop

 
 
LinkBack Thread Tools
 
Old 12-17-2009, 01:22 PM
Radek Vykydal
 
Default Fix reset of lvm filtering (#527711)

---
storage/devicelibs/lvm.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

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
--
1.6.0.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-22-2009, 02:19 PM
Chris Lumens
 
Default Fix reset of lvm filtering (#527711)

> 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 12-22-2009, 03:33 PM
David Lehman
 
Default Fix reset of lvm filtering (#527711)

Looks okay to me.

On Thu, 2009-12-17 at 15:22 +0100, Radek Vykydal wrote:
> ---
> storage/devicelibs/lvm.py | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> 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


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

Thread Tools




All times are GMT. The time now is 06:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org