py3k syntax

This commit is contained in:
Thomas Nagy 2011-11-26 15:10:00 +01:00
parent 4c9eceb088
commit c00a364048
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ class Popen(object):
else:
if Popen.verbose:
print("Emulating")
except Exception, e:
except Exception as e:
if Popen.verbose:
print("Exception: %s" % e)
raise