From: Zac Medico Date: Wed, 11 Mar 2009 05:52:44 +0000 (-0000) Subject: Revert accidental python-3.0 syntax. (trunk r12643) X-Git-Tag: v2.1.6.8~162 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f94a9b473eacc154f7ffd6b6ecec06778997444f;p=portage.git Revert accidental python-3.0 syntax. (trunk r12643) svn path=/main/branches/2.1.6/; revision=12915 --- diff --git a/pym/portage/util.py b/pym/portage/util.py index 35c4e2c0c..da79d86fe 100644 --- 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):