Oops? Remove debug print

This commit is contained in:
Christoffer Viken 2017-06-05 13:26:45 +00:00
parent 97537eaa83
commit bae4a74196
1 changed files with 0 additions and 2 deletions

View File

@ -31,7 +31,6 @@ class ProductPopularityMenu(Menu):
text += line_format.format('items sold', 'product') text += line_format.format('items sold', 'product')
text += '-' * (31 + Product.name_length) + '\n' text += '-' * (31 + Product.name_length) + '\n'
for product, number in product_list: for product, number in product_list:
print(product.name)
if number is None: if number is None:
continue continue
text += line_format.format(str(number), product.name) text += line_format.format(str(number), product.name)
@ -60,7 +59,6 @@ class ProductRevenueMenu(Menu):
text += line_format.format('revenue', 'items sold', 'price', 'product') text += line_format.format('revenue', 'items sold', 'price', 'product')
text += '-' * (31 + Product.name_length) + '\n' text += '-' * (31 + Product.name_length) + '\n'
for product, number in product_list: for product, number in product_list:
print(product.name)
if number is None: if number is None:
continue continue
text += line_format.format(str(number * product.price), str(number), str(product.price), product.name) text += line_format.format(str(number * product.price), str(number), str(product.price), product.name)