parent
32fbde67f7
commit
ea6e96985a
2 changed files with 3 additions and 1 deletions
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- display - remove leading space when displaying WARNING messages
|
|
@ -248,7 +248,7 @@ class Display(with_metaclass(Singleton, object)):
|
|||
def warning(self, msg, formatted=False):
|
||||
|
||||
if not formatted:
|
||||
new_msg = "\n[WARNING]: %s" % msg
|
||||
new_msg = "[WARNING]: %s" % msg
|
||||
wrapped = textwrap.wrap(new_msg, self.columns)
|
||||
new_msg = "\n".join(wrapped) + "\n"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue