projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce1c11
)
Revert accidental python-3.0 syntax.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 19 Feb 2009 10:28:58 +0000
(10:28 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 19 Feb 2009 10:28:58 +0000
(10:28 -0000)
svn path=/main/trunk/; revision=12643
pym/portage/util.py
patch
|
blob
|
history
diff --git
a/pym/portage/util.py
b/pym/portage/util.py
index 35c4e2c0cdb06148da77dc300ef266b335120518..da79d86fefabb13011d333aa224dc6ed62bb1684 100644
(file)
--- a/
pym/portage/util.py
+++ b/
pym/portage/util.py
@@
-1014,7
+1014,7
@@
class atomic_ofstream(ObjectProxy):
pass
except FileNotFound:
pass
- except OSError
as
oe: # from the above os.stat call
+ except OSError
,
oe: # from the above os.stat call
if oe.errno in (errno.ENOENT, errno.EPERM):
pass
else:
@@
-1025,7
+1025,7
@@
class atomic_ofstream(ObjectProxy):
# even if an exception is raised.
try:
os.unlink(f.name)
- except OSError
as
oe:
+ except OSError
,
oe:
pass
def abort(self):