Error handling for non-interactive setup.py

- thanks to @orlitzky #993
This commit is contained in:
Peter Šurda 2017-04-30 10:41:55 +02:00
parent bf76c7f6ec
commit 4c597d3f7c
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

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