##// END OF EJS Templates
util: strip trailing newline from debugstacktrace message...
Mads Kiilerich -
r31314:7c877cbf default
parent child Browse files
Show More
@@ -2871,7 +2871,7 b" def debugstacktrace(msg='stacktrace', sk"
2871 '''
2871 '''
2872 if otherf:
2872 if otherf:
2873 otherf.flush()
2873 otherf.flush()
2874 f.write('%s at:\n' % msg)
2874 f.write('%s at:\n' % msg.rstrip())
2875 for line in getstackframes(skip + 1):
2875 for line in getstackframes(skip + 1):
2876 f.write(line)
2876 f.write(line)
2877 f.flush()
2877 f.flush()
@@ -129,8 +129,7 b' Test internal debugstacktrace command'
129 stacktrace at:
129 stacktrace at:
130 debugstacktrace.py:10 in * (glob)
130 debugstacktrace.py:10 in * (glob)
131 debugstacktrace.py:3 in f
131 debugstacktrace.py:3 in f
132 hello from g
132 hello from g at:
133 at:
134 debugstacktrace.py:10 in * (glob)
133 debugstacktrace.py:10 in * (glob)
135 debugstacktrace.py:4 in f
134 debugstacktrace.py:4 in f
136 hi ...
135 hi ...
General Comments 0
You need to be logged in to leave comments. Login now