Removed progress characters, they just look stupid in Travis console

pull/750/head
Przemek Wirkus 2014-12-03 10:48:53 +00:00
parent e5d7f85597
commit 32b214c4b1
1 changed files with 0 additions and 12 deletions

View File

@ -37,29 +37,17 @@ CPU_COUNT_MIN = 1
def print_notify(event, silent=False):
""" Default command line notification
"""
if "counter" not in print_notify.__dict__:
print_notify.counter = event['type']
if event['type'] in ['info', 'debug']:
if silent:
if print_notify.counter == 'progress':
print
print event['message']
elif event['type'] == 'cc':
event['severity'] = event['severity'].title()
event['file'] = basename(event['file'])
if silent:
if print_notify.counter == 'progress':
print
print '[%(severity)s] %(file)s@%(line)s: %(message)s' % event
elif event['type'] == 'progress':
if not silent:
print '%s: %s' % (event['action'].title(), basename(event['file']))
else:
sys.stdout.write('-' if event['action'].title() == 'Copy' else '=')
print_notify.counter = event['type']
def print_notify_verbose(event, silent=False):
""" Default command line notification with more verbose mode