##// END OF EJS Templates
ui: use pycompat.bytestr() to get a bytes-repr of config default...
Augie Fackler -
r36143:8f5c7f90 default
parent child Browse files
Show More
@@ -498,7 +498,7 b' class ui(object):'
498 and default != itemdefault):
498 and default != itemdefault):
499 msg = ("specifying a mismatched default value for a registered "
499 msg = ("specifying a mismatched default value for a registered "
500 "config item: '%s.%s' '%s'")
500 "config item: '%s.%s' '%s'")
501 msg %= (section, name, default)
501 msg %= (section, name, pycompat.bytestr(default))
502 self.develwarn(msg, 2, 'warn-config-default')
502 self.develwarn(msg, 2, 'warn-config-default')
503
503
504 for s, n in alternates:
504 for s, n in alternates:
General Comments 0
You need to be logged in to leave comments. Login now