From: Zac Medico Date: Thu, 19 Feb 2009 10:28:58 +0000 (-0000) Subject: Revert accidental python-3.0 syntax. X-Git-Tag: v2.2_rc24~163 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e0b0027a988de236a5541e5c72036c7b5bb75e6;p=portage.git Revert accidental python-3.0 syntax. svn path=/main/trunk/; revision=12643 --- 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):