diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-12-17 23:18:14 -0700 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-12-17 23:18:14 -0700 |
commit | 285fa3d33077b336784a8ea7633b0e011646adaa (patch) | |
tree | 135df130afbe439c06f80cb64fe1ff6f208e5f7f | |
parent | 4f24f0fd8837383f4a2abc54946f6f84810807b8 (diff) | |
download | freeipa-285fa3d33077b336784a8ea7633b0e011646adaa.tar.gz freeipa-285fa3d33077b336784a8ea7633b0e011646adaa.tar.xz freeipa-285fa3d33077b336784a8ea7633b0e011646adaa.zip |
Removed depreciated envtest command from f_user.py
-rw-r--r-- | ipalib/plugins/f_user.py | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ipalib/plugins/f_user.py b/ipalib/plugins/f_user.py index e1076242c..45ee59f4f 100644 --- a/ipalib/plugins/f_user.py +++ b/ipalib/plugins/f_user.py @@ -28,24 +28,6 @@ from ipalib import api from ipalib import errors from ipalib import ipa_types -# Command to get the idea how plugins will interact with api.env -class envtest(frontend.Command): - 'Show current environment.' - def run(self, *args, **kw): - print "" - print "Environment variables:" - for var in api.env: - val = api.env[var] - if var is 'server': - print "" - print " Servers:" - for item in api.env.server: - print " %s" % item - print "" - else: - print " %s: %s" % (var, val) - return {} -api.register(envtest) def display_user(user): # FIXME: for now delete dn here. In the future pass in the kw to |