summaryrefslogtreecommitdiffstats
path: root/ipalib/base.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-21 01:58:22 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-07-21 01:58:22 +0000
commit0c574d830062d7957c2c65081e3e66fc0bb41759 (patch)
treedcd90f7c2ce372086108868f606d4d3c34caf186 /ipalib/base.py
parent7273d48169a6c0dabc1bfb0f42bafb06515fdac9 (diff)
downloadfreeipa-0c574d830062d7957c2c65081e3e66fc0bb41759.zip
freeipa-0c574d830062d7957c2c65081e3e66fc0bb41759.tar.gz
freeipa-0c574d830062d7957c2c65081e3e66fc0bb41759.tar.xz
27: Added quick hack for replace('-', '_') problem I'm having
Diffstat (limited to 'ipalib/base.py')
-rw-r--r--ipalib/base.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipalib/base.py b/ipalib/base.py
index 522b13b..aa86701 100644
--- a/ipalib/base.py
+++ b/ipalib/base.py
@@ -153,7 +153,10 @@ class Named(object):
class AbstractCommand(object):
def __call__(self):
- print 'You called %s()' % self.name
+ print 'You called %s.%s()' % (
+ self.__class__.__module__,
+ self.__class__.__name__
+ )
def get_doc(self, _):
"""