Removed depreciated envtest command from f_user.py

This commit is contained in:
Jason Gerard DeRose 2008-12-17 23:18:14 -07:00
parent 4f24f0fd88
commit 285fa3d330

View File

@ -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