summaryrefslogtreecommitdiffstats
path: root/func/overlord/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/command.py')
-rw-r--r--func/overlord/command.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/func/overlord/command.py b/func/overlord/command.py
index 0fd0c7a..537bec5 100644
--- a/func/overlord/command.py
+++ b/func/overlord/command.py
@@ -289,23 +289,3 @@ class Command:
c = c.parentCommand
return c
-DEFAULT_PORT = 51234
-class BaseCommand(Command):
- """ wrapper class for commands with some convience functions, namely
- getOverlord() for getting a overlord client api handle"""
-
- interactive = False
- verbose=0
- port=DEFAULT_PORT
- def getOverlord(self):
- if not getattr(self, "server_spec"):
- self.server_spec = self.parentCommand.server_spec
-
-
- self.overlord_obj = client.Overlord(self.server_spec,
- port=self.port,
- interactive=self.interactive,
- verbose=self.verbose,
- config=self.config)
-
-