projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff95742
)
Prevent a NameError in commit_mtimedb() when the portage.mtimedb attribute does not...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Apr 2006 10:33:32 +0000
(10:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 29 Apr 2006 10:33:32 +0000
(10:33 -0000)
svn path=/main/trunk/; revision=3272
pym/portage.py
patch
|
blob
|
history
diff --git
a/pym/portage.py
b/pym/portage.py
index e33be078ab2ec2abf28a514a99aec59b23eccc82..a0905aa27e988df4de3bbbb9df8aa23957034c13 100644
(file)
--- a/
pym/portage.py
+++ b/
pym/portage.py
@@
-6605,7
+6605,7
@@
def parse_updates(mycontent):
def commit_mtimedb(mydict=None, filename=None):
if mydict is None:
global mtimedb
- if mtimedb is None:
+ if
"mtimedb" not in globals() or
mtimedb is None:
return
mydict = mtimedb
if filename is None: