git://yum.baseurl.org
/
yum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9662765
)
Don't redo pkgSack init. when pkgSack is false, fixes BZ#507220
author
James Antill
<james@and.org>
Mon, 22 Jun 2009 05:25:32 +0000 (
01:25
-0400)
committer
James Antill
<james@and.org>
Mon, 22 Jun 2009 05:25:32 +0000 (
01:25
-0400)
yum/__init__.py
patch
|
blob
|
history
diff --git
a/yum/__init__.py
b/yum/__init__.py
index
2a1f806
..
ae70354
100644
(file)
--- a/
yum/__init__.py
+++ b/
yum/__init__.py
@@
-483,7
+483,7
@@
class YumBase(depsolve.Depsolve):
"""populates the package sacks for information from our repositories,
takes optional archlist for archs to include"""
- if self._pkgSack and thisrepo is None:
+ if self._pkgSack is not None and thisrepo is None:
return self._pkgSack
if thisrepo is None: