mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
20: Updated example plugins, added '_api_' command to ipa script with prints the api
This commit is contained in:
@@ -158,7 +158,8 @@ class WithObj(Named):
|
||||
|
||||
|
||||
class Command(WithObj):
|
||||
pass
|
||||
def __call__(self):
|
||||
print 'You called %s()' % self.name
|
||||
|
||||
class Property(WithObj):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user