Fixes a traceback when enabling/disabling repositories in the desktop.
---
 yum/config.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/yum/config.py b/yum/config.py
index d09511f..cb7ed57 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -1069,7 +1069,7 @@ def writeRawRepoFile(repo,only=None):
         #  If the value is the same, but just interpreted ... when we don't 
want
         # to keep the interpreted values.
         if (name in ini[section_id] and
-            ovalue == varReplace(ini[section_id][name], yumvar)):
+            ovalue == varReplace(ini[section_id][name], repo.yumvar)):
             ovalue = ini[section_id][name]
 
         if name not in cfgOptions and option.default == value:
-- 
1.7.4.4

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to