summaryrefslogtreecommitdiffstats
path: root/base/module.py
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/module.py
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/module.py')
-rw-r--r--base/module.py7
1 files changed, 7 insertions, 0 deletions
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