summaryrefslogtreecommitdiffstats
path: root/ipalib/public.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-12 19:22:48 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-12 19:22:48 +0000
commit9ac8a8b49984ec5727b9da4803ae7823a9e44e13 (patch)
treecc44acd4b8476bb4fb759a86f96e2c9d84ed75eb /ipalib/public.py
parent4acb7567c424d2d2525ff23f0cede3e4467d0ba1 (diff)
downloadfreeipa.git-9ac8a8b49984ec5727b9da4803ae7823a9e44e13.tar.gz
freeipa.git-9ac8a8b49984ec5727b9da4803ae7823a9e44e13.tar.xz
freeipa.git-9ac8a8b49984ec5727b9da4803ae7823a9e44e13.zip
118: Added user_login.default() method as another example; print_call() now prints sorted by the keys in ascending order
Diffstat (limited to 'ipalib/public.py')
-rw-r--r--ipalib/public.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/public.py b/ipalib/public.py
index 0dcf71d6..e173bdd5 100644
--- a/ipalib/public.py
+++ b/ipalib/public.py
@@ -213,7 +213,7 @@ class cmd(plugable.Plugin):
' ' * (tab *2),
self.name,
method,
- ', '.join('%s=%r' % (k, v) for (k, v) in kw.items()),
+ ', '.join('%s=%r' % (k, kw[k]) for k in sorted(kw)),
)
def __call__(self, **kw):