diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-04-07 14:04:36 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-04-07 14:04:36 -0500 |
commit | 2e1a79fe401bea5b33551b9f94689524bf43cdca (patch) | |
tree | 7627677e9fcc2d7f6534c109a795bfdef87d0530 /src/lib/Server/Plugins/Pkgmgr.py | |
parent | 6f27f7f30ee0bcfcb3f6a4c48c153ea39a2accce (diff) | |
download | bcfg2-2e1a79fe401bea5b33551b9f94689524bf43cdca.tar.gz bcfg2-2e1a79fe401bea5b33551b9f94689524bf43cdca.tar.bz2 bcfg2-2e1a79fe401bea5b33551b9f94689524bf43cdca.zip |
PY3K + PEP8 fixes for remaining files
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server/Plugins/Pkgmgr.py')
-rw-r--r-- | src/lib/Server/Plugins/Pkgmgr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Pkgmgr.py b/src/lib/Server/Plugins/Pkgmgr.py index dc4a5f37f..b96e7ea7d 100644 --- a/src/lib/Server/Plugins/Pkgmgr.py +++ b/src/lib/Server/Plugins/Pkgmgr.py @@ -62,7 +62,7 @@ class PNode(Bcfg2.Server.Plugin.INode): if 'Package' not in pdict: pdict['Package'] = set() for child in data.getchildren(): - for attr in [key for key in data.attrib.keys() + for attr in [key for key in list(data.attrib.keys()) if key != 'name' and key not in child.attrib]: try: child.set(attr, data.get(attr)) |