##// END OF EJS Templates
util: flush stderr explicitly after using warnings.warn()...
Pulkit Goyal -
r45522:7af5c1f5 default
parent child Browse files
Show More
@@ -204,6 +204,8 b' def nouideprecwarn(msg, version, stackle'
204 b" update your code.)"
204 b" update your code.)"
205 ) % version
205 ) % version
206 warnings.warn(pycompat.sysstr(msg), DeprecationWarning, stacklevel + 1)
206 warnings.warn(pycompat.sysstr(msg), DeprecationWarning, stacklevel + 1)
207 # on python 3 with chg, we will need to explicitly flush the output
208 sys.stderr.flush()
207
209
208
210
209 DIGESTS = {
211 DIGESTS = {
General Comments 0
You need to be logged in to leave comments. Login now