projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a07c433
)
Handle IOError from codecs.open(). (trunk r13360)
author
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:18:20 +0000
(07:18 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 30 Apr 2009 07:18:20 +0000
(07:18 -0000)
svn path=/main/branches/2.1.6/; revision=13516
bin/repoman
patch
|
blob
|
history
diff --git
a/bin/repoman
b/bin/repoman
index df677513ebe3bafd6c8a37c34e67b90527c1b067..cce3f9a9bed23f304947db0d6074601b8a9d5efe 100755
(executable)
--- a/
bin/repoman
+++ b/
bin/repoman
@@
-589,7
+589,7
@@
for path in portdb.porttrees:
desc_path = os.path.join(path, 'profiles', 'profiles.desc')
try:
desc_file = codecs.open(desc_path, mode='r', errors='replace')
- except
OS
Error:
+ except
Environment
Error:
pass
else:
for i, x in enumerate(desc_file):