From e83ebfc853ede37a02c3bf6f09d2786bbef7080d Mon Sep 17 00:00:00 2001 From: "Yaakov M. Nemoy" Date: Thu, 15 Jan 2009 18:46:14 -0500 Subject: 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 --- base/module.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'base/module.py') 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 -- cgit