Commit 64396dab authored by Jeremy Hylton's avatar Jeremy Hylton

fix typo in case where exception occurs formatting traceback

parent 5332d256
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
# attributions are listed in the accompanying credits file. # attributions are listed in the accompanying credits file.
# #
############################################################################## ##############################################################################
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import os, string, sys, time import os, string, sys, time
...@@ -161,7 +161,7 @@ class stupid_log_write: ...@@ -161,7 +161,7 @@ class stupid_log_write:
trailer="\n", limit=100) trailer="\n", limit=100)
print >> _log_dest, lines print >> _log_dest, lines
except: except:
print >> _log_dest, "s: %s" % error[:2] print >> _log_dest, "%s: %s" % error[:2]
_log_dest.flush() _log_dest.flush()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment