remove useless calls to ReplApplication.flush() (closes #812)
This commit is contained in:
parent
8b803e7c39
commit
bdf4c13f4e
22 changed files with 0 additions and 74 deletions
|
|
@ -125,7 +125,6 @@ class Comparoob(ReplApplication):
|
|||
products.append(price)
|
||||
for price in sorted(products, key=self._get_price):
|
||||
self.cached_format(price)
|
||||
self.flush()
|
||||
|
||||
def _get_price(self, price):
|
||||
return price.cost
|
||||
|
|
@ -147,4 +146,3 @@ class Comparoob(ReplApplication):
|
|||
|
||||
self.start_format()
|
||||
self.format(price)
|
||||
self.flush()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue