Make packages Python3 compatible.

This commit is contained in:
Todd Gamblin
2017-03-25 23:23:47 -07:00
parent 7f3f493024
commit b9ee86cac9
6 changed files with 20 additions and 18 deletions

View File

@@ -229,6 +229,6 @@ def delete_files(*filenames):
if os.path.exists(filename):
try:
os.remove(filename)
except OSError, e:
except OSError as e:
raise InstallError('Failed to delete file %s: %s' % (
e.filename, e.strerror))