diff options
Diffstat (limited to 'base')
| -rw-r--r-- | base/dirfactory.py | 4 | ||||
| -rw-r--r-- | base/module.py | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/base/dirfactory.py b/base/dirfactory.py index e099197..57d66db 100644 --- a/base/dirfactory.py +++ b/base/dirfactory.py @@ -22,8 +22,8 @@ from configobj import ConfigObj from os import getcwd from os.path import abspath, exists -from base.util import pwd, log -from base.exceptions import ExecutionException +from util import pwd, log +from exceptions import ExecutionException directory_type = dict() diff --git a/base/module.py b/base/module.py index 19b89ca..898d49c 100644 --- a/base/module.py +++ b/base/module.py @@ -21,3 +21,10 @@ class Module(object): """ Our parent class for all command modules """ def close(self): raise NotImplementedError + + def __call__(self, *args): + '''This is needed for those command line calls that have no target + + TODO: This is a bloody stupid hack that should be taken out back and shot + ''' + return |
