##// END OF EJS Templates
ui: send traceback of devel warning to appropriate output stream...
Yuya Nishihara -
r26451:c8f42c19 default
parent child Browse files
Show More
@@ -994,7 +994,7 b' class ui(object):'
994 """issue a developer warning message"""
994 """issue a developer warning message"""
995 msg = 'devel-warn: ' + msg
995 msg = 'devel-warn: ' + msg
996 if self.tracebackflag:
996 if self.tracebackflag:
997 util.debugstacktrace(msg, 2)
997 util.debugstacktrace(msg, 2, self.ferr, self.fout)
998 else:
998 else:
999 curframe = inspect.currentframe()
999 curframe = inspect.currentframe()
1000 calframe = inspect.getouterframes(curframe, 2)
1000 calframe = inspect.getouterframes(curframe, 2)
General Comments 0
You need to be logged in to leave comments. Login now