diff options
author | Raúl Benencia <rul@kalgan.cc> | 2012-10-11 15:30:31 -0300 |
---|---|---|
committer | Raúl Benencia <rul@kalgan.cc> | 2012-10-11 15:30:31 -0300 |
commit | 3f9dd1f5c5c563ddaf0ea18614667edaa7e1feaa (patch) | |
tree | 370261673be2e5a949ab12bb60037fadedcb6650 /pywhoisd_dataloader.py | |
parent | 7ef52c68574b54333c44c5be739049deac3a28ec (diff) |
Diffstat (limited to 'pywhoisd_dataloader.py')
-rwxr-xr-x | pywhoisd_dataloader.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pywhoisd_dataloader.py b/pywhoisd_dataloader.py index 7b80ef5..e67c853 100755 --- a/pywhoisd_dataloader.py +++ b/pywhoisd_dataloader.py @@ -10,7 +10,7 @@ from lib.exceptions import CmdNotFoundException, CommandException class Manager: def __init__(self): self.loader = None - self.completer = CompletionManager() + self.completer = CompletionManager(cmd_manager, self.loader) def start(self): try: @@ -34,7 +34,7 @@ class Manager: output_manager.normal('Usage: {0}'.format(cmd.usage(line[0]))).line_break() except CmdNotFoundException as err: - output_manager.error('Error: {0}'.format(str(err))).linebreak() + output_manager.error('Error: {0}'.format(str(err))).line_break() except EOFError: output_manager.line_break() @@ -44,8 +44,8 @@ class Manager: if __name__ == '__main__': try: - manager = Manager() cmd_manager = CommandManager() + manager = Manager() output_manager = OutputManager() manager.start() |