We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef25d83 commit 08f3aadCopy full SHA for 08f3aad
1 file changed
resources/atom_pdb.py
@@ -77,7 +77,8 @@ def main():
77
except SystemExit:
78
sys.stdout.write("The program exited via sys.exit(). ")
79
sys.stdout.write("Exit status: %s\n" % sys.exc_info()[1])
80
- except Exception as inst: # this syntax assumes python >= 2.6
+ except Exception:
81
+ inst = sys.exc_info()[1]
82
traceback.print_exc()
83
sys.stdout.write("Uncaught exception %s " % str(type(inst)))
84
sys.stdout.write("... entering post-mortem debugging\n")
0 commit comments