BUG: Don't print a tuple on bundles in py2.

This commit is contained in:
Scott Sanderson
2016-05-10 20:48:33 -04:00
parent 10daf9efd6
commit fc74fdb0a7
+5 -8
View File
@@ -360,14 +360,11 @@ def bundles():
raise
ingestions = []
print(
'\n'.join(
'%s %s' % (bundle, line)
for line in (
ingestions if ingestions else ('<no ingestions>',)
)
),
)
# If we got no ingestions, either because the directory didn't exist or
# becuase there were no entries, print a single message indicating that
# no ingestions have yet been made.
for timestamp in ingestions or ["<no ingestions>"]:
print("%s %s" % (bundle, timestamp))
if __name__ == '__main__':