setup.py: second exception in list can be treated as variable

This commit is contained in:
Dmitri Bogomolov 2017-06-12 12:58:16 +03:00
parent b7f9e74eea
commit 06fed6f9c2
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class InstallCmd(install):
print "Press Return to continue"
try:
raw_input()
except EOFError, NameError:
except (EOFError, NameError):
pass
return install.run(self)