summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2010-10-18 13:33:51 -0500
committerSol Jerome <sol.jerome@gmail.com>2010-11-02 20:35:18 -0500
commitb6c96eabe1c2ad98897abc2a4fa24ff01af49f68 (patch)
tree9647d96af26c76a1e5e0f10019381520846a39c2 /src
parent375be7ae1b70d83c692b246f4a7eee36cfa46093 (diff)
downloadbcfg2-b6c96eabe1c2ad98897abc2a4fa24ff01af49f68.tar.gz
bcfg2-b6c96eabe1c2ad98897abc2a4fa24ff01af49f68.tar.bz2
bcfg2-b6c96eabe1c2ad98897abc2a4fa24ff01af49f68.zip
YUMng: syntax error
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/YUMng.py2
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']