[yum-commits] plugins/auto-update-debuginfo
Tim Lauridsen
timlau at osuosl.org
Wed Feb 16 08:15:25 UTC 2011
plugins/auto-update-debuginfo/auto-update-debuginfo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit df3b5267571074421f929dc21d65d73fbdb26157
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Wed Feb 16 09:15:12 2011 +0100
Fix auto-update-debuginfo plugin to not break if the is and option object but no repos option (yumex)
diff --git a/plugins/auto-update-debuginfo/auto-update-debuginfo.py b/plugins/auto-update-debuginfo/auto-update-debuginfo.py
index b5c6dcd..501939b 100644
--- a/plugins/auto-update-debuginfo/auto-update-debuginfo.py
+++ b/plugins/auto-update-debuginfo/auto-update-debuginfo.py
@@ -38,7 +38,7 @@ def _check_man_disable(mdrs, di):
def enable_debuginfo_repos(yb, conduit):
mdrs = set()
opts, args = conduit.getCmdLine()
- if opts is not None:
+ if opts is not None and hasattr(opts.repos) :
for opt, repoexp in opts.repos:
if opt == '--disablerepo':
mdrs.add(repoexp)
More information about the Yum-commits
mailing list