projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1363c17
)
Fix global updates error handling to prevent a traceback with python-2.5 as reported...
author
Zac Medico
<zmedico@gentoo.org>
Sat, 16 Dec 2006 09:59:47 +0000
(09:59 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 16 Dec 2006 09:59:47 +0000
(09:59 -0000)
svn path=/main/trunk/; revision=5303
pym/portage_update.py
patch
|
blob
|
history
diff --git
a/pym/portage_update.py
b/pym/portage_update.py
index 57aa8b43bc943b121b734a246ccd346dae04c9ac..f156c39bccc1996392960b0362e2b1ab8b282943 100644
(file)
--- a/
pym/portage_update.py
+++ b/
pym/portage_update.py
@@
-71,9
+71,8
@@
def grab_updates(updpath, prev_mtimes=None):
mylist = os.listdir(updpath)
except OSError, oe:
if oe.errno == errno.ENOENT:
- raise DirectoryNotFound(oe)
- else:
- raise oe
+ raise DirectoryNotFound(updpath)
+ raise
if prev_mtimes is None:
prev_mtimes = {}
# validate the file name (filter out CVS directory, etc...)