[yum-git] yumdownloader.py
James Antill
james at linux.duke.edu
Thu Jan 17 00:57:24 UTC 2008
yumdownloader.py | 6 ------
1 file changed, 6 deletions(-)
New commits:
commit ab4a68599d6263fd6bb83bbc2c1c266dfbdd742d
Author: James Antill <james at and.org>
Date: Wed Jan 16 19:57:16 2008 -0500
Remove hack for *-source repos.
diff --git a/yumdownloader.py b/yumdownloader.py
index 551ea08..ff3a442 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -220,15 +220,9 @@ class YumDownloader(YumUtilBase):
def doUtilYumSetup(self,opts):
"""do a default setup for all the normal/necessary yum components,
really just a shorthand for testing"""
- # FIXME - we need another way to do this, I think.
try:
self._getTs()
self._getRpmDB()
- # if running as non-root and '--source' is specified, then
- # disable all enabled *-source repos, because we dont want then to be initialized
- # yet.
- if self.conf.uid != 0 and opts.source:
- self._removeEnabledSourceRepos()
self._getRepos()
# if '--source' is used the add src to the archlist
if opts.source:
More information about the Yum-cvs-commits
mailing list