summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-15 18:46:14 -0500
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-15 18:46:14 -0500
commite83ebfc853ede37a02c3bf6f09d2786bbef7080d (patch)
tree8d2da28ad7e8e0e5584fca61a68c87c26db7440a /base
parent7ff1ef7ad4fe00770db6fde54bb1c3c8066bc4bf (diff)
downloadfedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.tar.gz
fedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.tar.xz
fedora-devshell-e83ebfc853ede37a02c3bf6f09d2786bbef7080d.zip
Random bugfixes
makes it work gets rid of _type madness fixes imports fixes random function signatures inserts a bloody stupid easter egg hack floats on a wooden raft
Diffstat (limited to 'base')
-rw-r--r--base/dirfactory.py4
-rw-r--r--base/module.py7
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