##// END OF EJS Templates
Compare against python2 str version
Jörgen Stenarson -
Show More
@@ -777,7 +777,7 b' class VerboseTB(TBTools):'
777 #print '*** record:',file,lnum,func,lines,index # dbg
777 #print '*** record:',file,lnum,func,lines,index # dbg
778 if not file:
778 if not file:
779 file = '?'
779 file = '?'
780 elif not(file.startswith("<") and file.endswith(">")):
780 elif not(file.startswith(str("<")) and file.endswith(str(">"))):
781 # Guess that filenames like <string> aren't real filenames, so
781 # Guess that filenames like <string> aren't real filenames, so
782 # don't call abspath on them.
782 # don't call abspath on them.
783 try:
783 try:
General Comments 0
You need to be logged in to leave comments. Login now