Make warning message color brightyellow instead of brightred.. Red indicates
a fatal error.. BUG:FIXED:5619
This commit is contained in:
@@ -75,7 +75,7 @@ class CLI(pisi.ui.UI):
|
|||||||
if ctx.get_option('no_color'):
|
if ctx.get_option('no_color'):
|
||||||
self.output(_('Warning: ') + msg + '\n', err=True, verbose=verbose)
|
self.output(_('Warning: ') + msg + '\n', err=True, verbose=verbose)
|
||||||
else:
|
else:
|
||||||
self.output(pisi.util.colorize(msg + '\n', 'brightred'), err=True, verbose=verbose)
|
self.output(pisi.util.colorize(msg + '\n', 'brightyellow'), err=True, verbose=verbose)
|
||||||
|
|
||||||
def error(self, msg):
|
def error(self, msg):
|
||||||
msg = unicode(msg)
|
msg = unicode(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user