Commit c1920841 authored by Jacek Sowiński's avatar Jacek Sowiński

Fix code formatting in PostponeCommand

parent 5718e113
......@@ -60,6 +60,7 @@ class PostponeCommand(Command):
todos = []
invalid_numbers = []
for number in self.args[:-1]:
try:
todos.append(self.todolist.todo(number))
......@@ -72,10 +73,8 @@ class PostponeCommand(Command):
elif len(invalid_numbers) == 1 and len(todos) == 0:
self.error("Invalid todo number given.")
else:
try:
pattern = self.args[-1]
self.printer.add_filter(PrettyPrinterNumbers(self.todolist))
if len(todos) > 0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment