##// END OF EJS Templates
develwarn: do not emit warning if "config" is unspecified...
Kyle Lippincott -
r35125:fa2395db default
parent child Browse files
Show More
@@ -1603,7 +1603,7 b' class ui(object):'
1603 stack.
1603 stack.
1604 """
1604 """
1605 if not self.configbool('devel', 'all-warnings'):
1605 if not self.configbool('devel', 'all-warnings'):
1606 if config is not None and not self.configbool('devel', config):
1606 if config is None or not self.configbool('devel', config):
1607 return
1607 return
1608 msg = 'devel-warn: ' + msg
1608 msg = 'devel-warn: ' + msg
1609 stacklevel += 1 # get in develwarn
1609 stacklevel += 1 # get in develwarn
General Comments 0
You need to be logged in to leave comments. Login now