[yum-commits] plugins/tsflags
skvidal at osuosl.org
skvidal at osuosl.org
Thu Aug 26 13:23:53 UTC 2010
plugins/tsflags/tsflags.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 9ccfe5737e9c602bf48e89c06f74372e31e9cde4
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Thu Aug 26 09:23:25 2010 -0400
stop using setConfigOption in tsflags plugin
diff --git a/plugins/tsflags/tsflags.py b/plugins/tsflags/tsflags.py
index fd84036..3b07de0 100644
--- a/plugins/tsflags/tsflags.py
+++ b/plugins/tsflags/tsflags.py
@@ -28,4 +28,8 @@ def postreposetup_hook(conduit):
conf = conduit.getConf()
if opts.tsflags:
flags = opts.tsflags.split(',')
- conf.setConfigOption('tsflags', flags)
+ for flag in flags:
+ if flag not in conf.tsflags:
+ conf.tsflags.append(flag)
+
+
More information about the Yum-commits
mailing list