diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2010-10-18 13:33:51 -0500 |
---|---|---|
committer | Tim Laszlo <tim.laszlo@gmail.com> | 2010-10-18 13:33:51 -0500 |
commit | 9a9d3a56907f2bd4af12e3ea3961aa7b93d8a966 (patch) | |
tree | 842eb386ef6b3bf56a5af4fce8c1937e3c70c4cd | |
parent | 1b56006774c2f835e2826f49f26fcb4cbe15414b (diff) | |
download | bcfg2-9a9d3a56907f2bd4af12e3ea3961aa7b93d8a966.tar.gz bcfg2-9a9d3a56907f2bd4af12e3ea3961aa7b93d8a966.tar.bz2 bcfg2-9a9d3a56907f2bd4af12e3ea3961aa7b93d8a966.zip |
YUMng: syntax error
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index ce8832395..9cdcdca40 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -157,7 +157,7 @@ class YUMng(Bcfg2.Client.Tools.PkgTool): self.__important__ = self.__important__ + \ [entry.get('name') for struct in config \ for entry in struct \ - if entry.tag in == 'Path' and \ + if entry.tag == 'Path' and \ (entry.get('name').startswith('/etc/yum.d') \ or entry.get('name').startswith('/etc/yum.repos.d')) \ or entry.get('name') == '/etc/yum.conf'] |