Kaydet (Commit) 006fe97e authored tarafından Ali Rıza KESKİN's avatar Ali Rıza KESKİN

warning is normal outbut

üst f0729b26
......@@ -127,14 +127,13 @@ class CLI(inary.ui.UI):
if ctx.log:
ctx.log.warning(msg)
if ctx.get_option('no_color'):
self.output(_('Warning: ') + msg + '\n', err=True, verbose=verbose)
self.output(_('Warning: ') + msg + '\n', err=True)
else:
self.output(
util.colorize(
msg + '\n',
'brightyellow'),
err=True,
verbose=verbose)
err=True)
def error(self, msg):
msg = str(msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment