diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 18:36:02 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-07-20 18:36:02 +0000 |
commit | 14339cfae01b843949d0f9972670f56f952a5faa (patch) | |
tree | f37c378ee0ba619424f654bf345aa4faa30c7630 /ipalib/base.py | |
parent | 89e9b7eaeca5e96d0fdeddf76fd74a2176d96d6f (diff) | |
download | freeipa-14339cfae01b843949d0f9972670f56f952a5faa.tar.gz freeipa-14339cfae01b843949d0f9972670f56f952a5faa.tar.xz freeipa-14339cfae01b843949d0f9972670f56f952a5faa.zip |
20: Updated example plugins, added '_api_' command to ipa script with prints the api
Diffstat (limited to 'ipalib/base.py')
-rw-r--r-- | ipalib/base.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/base.py b/ipalib/base.py index 4731a872e..3c302369f 100644 --- a/ipalib/base.py +++ b/ipalib/base.py @@ -158,7 +158,8 @@ class WithObj(Named): class Command(WithObj): - pass + def __call__(self): + print 'You called %s()' % self.name class Property(WithObj): pass |