Commit 1023b0e1 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Fixed imports based on pyflakes output.

parent 523485a3
......@@ -24,7 +24,6 @@ import Command
from PrettyPrinter import pretty_print
from RelativeDate import relative_date_to_date
from TodoListBase import InvalidTodoException
import TodoList
class AddCommand(Command.Command):
def __init__(self, p_args, p_todolist,
......
......@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from PrettyPrinter import pretty_print
from TodoListBase import InvalidTodoException
......
......@@ -14,8 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from PrettyPrinter import *
import re
from Command import Command, InvalidCommandArgument
from PrettyPrinter import pretty_print, pretty_print_list
from TodoListBase import InvalidTodoException
class DCommand(Command):
......
......@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from Config import config
import Filter
import Sorter
......
......@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from PrettyPrinter import pretty_print
from TodoListBase import InvalidTodoException
......
......@@ -15,7 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from datetime import date
import re
from DCommand import DCommand
from PrettyPrinter import pretty_print
......
......@@ -14,7 +14,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from datetime import date
import re
from Config import config
......
......@@ -16,9 +16,9 @@
from datetime import date, timedelta
from Command import *
from Command import Command, InvalidCommandArgument
from Config import config
from PrettyPrinter import *
from PrettyPrinter import pretty_print
from RelativeDate import relative_date_to_date
from TodoListBase import InvalidTodoException
from Utils import date_string_to_date
......
......@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from PrettyPrinter import pretty_print
from TodoListBase import InvalidTodoException
from Utils import is_valid_priority
......
......@@ -14,9 +14,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from Config import config
import Filter
import Sorter
class SortCommand(Command):
......
......@@ -14,7 +14,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
from Command import *
from Command import Command, InvalidCommandArgument
from TodoListBase import InvalidTodoException
from PrettyPrinter import pretty_print
......
......@@ -18,14 +18,8 @@
A list of todo items.
"""
import re
import Filter
import Graph
from PrettyPrinter import pretty_print_list
import Todo
import TodoListBase
import View
class TodoList(TodoListBase.TodoListBase):
"""
......
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