Skip to content

Commit 242dcdf

Browse files
committedDec 1, 2017
Fix MissingProgramError handling
Just print the exception value instead of exception.value.
1 parent 4b5ea05 commit 242dcdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ify.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ def usage():
269269
raise MissingProgramError(req['encode'])
270270

271271
except MissingProgramError, error:
272-
print "Missing required external program: %s" % error.value
272+
print "Missing required external program: %s" % error
273273
sys.exit(1)
274274
except ImportError, error:
275275
print "Import error has occured: %r" % error.args

0 commit comments

Comments
 (0)
Please sign in to comment.