##// END OF EJS Templates
util: call warnings.warn() with a sysstr in nouideprecwarn...
Augie Fackler -
r36145:02ed94dd default
parent child Browse files
Show More
@@ -253,7 +253,7 b' def nouideprecwarn(msg, version, stackle'
253 if _dowarn:
253 if _dowarn:
254 msg += ("\n(compatibility will be dropped after Mercurial-%s,"
254 msg += ("\n(compatibility will be dropped after Mercurial-%s,"
255 " update your code.)") % version
255 " update your code.)") % version
256 warnings.warn(msg, DeprecationWarning, stacklevel + 1)
256 warnings.warn(pycompat.sysstr(msg), DeprecationWarning, stacklevel + 1)
257
257
258 DIGESTS = {
258 DIGESTS = {
259 'md5': hashlib.md5,
259 'md5': hashlib.md5,
General Comments 0
You need to be logged in to leave comments. Login now