Remove white space between print ()
Change-Id: I75937c26d363a24089da989cb27d49603f0806a2
This commit is contained in:
parent
7ef12b7580
commit
e1c442fc1f
|
@ -95,16 +95,16 @@ for change in json.loads(r.text[5:]):
|
|||
|
||||
def print_enqueues(changes):
|
||||
for change in sorted(changes, key=lambda k: k['updated'], reverse=True):
|
||||
print ("zuul enqueue --trigger gerrit --pipeline check "
|
||||
print("zuul enqueue --trigger gerrit --pipeline check "
|
||||
"--project openstack/nova --change %s" % (change['change_id']))
|
||||
|
||||
print "=" * 20 + (" Changes with no votes (%d) " % len(no_votes)) + "=" * 20
|
||||
print_enqueues(no_votes)
|
||||
print ("=" * 20 + (" Changes with negative votes (%d) " % len(negative_votes))
|
||||
+ "=" * 20)
|
||||
print("=" * 20 + (" Changes with negative votes (%d) " % len(negative_votes))
|
||||
+ "=" * 20)
|
||||
print_enqueues(negative_votes)
|
||||
print ("=" * 20 + (" Changes with merge failure (%d) " % len(merge_failures)) +
|
||||
"=" * 20)
|
||||
print("=" * 20 + (" Changes with merge failure (%d) " % len(merge_failures)) +
|
||||
"=" * 20)
|
||||
print_enqueues(merge_failures)
|
||||
print "=" * 20 + (" Others in this query (%d) " % len(unknown)) + "=" * 20
|
||||
print_enqueues(unknown)
|
||||
|
|
|
@ -71,7 +71,7 @@ def main():
|
|||
items = connection.get_container(swift_config['container'], limit=1000)[1]
|
||||
while items:
|
||||
total_items += len(items)
|
||||
print ('%s Processing %d items, %d items total'
|
||||
print('%s Processing %d items, %d items total'
|
||||
% (datetime.datetime.now(), len(items), total_items))
|
||||
|
||||
for item in items:
|
||||
|
|
Loading…
Reference in New Issue