X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plcsh;fp=plcsh;h=c7b620e29050275c5a4744889c87cea32110881d;hb=2b2e29c4da75191d61fcde4124991fa32d489bff;hp=ed3e2c4716c36fe8452aae3780efa5200153492c;hpb=c0d164b1e0329b22638c4f5b0250364084ea70cc;p=plcapi.git diff --git a/plcsh b/plcsh index ed3e2c4..c7b620e 100755 --- a/plcsh +++ b/plcsh @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: Shell.py,v 1.1 2007/01/08 18:10:30 mlhuang Exp $ +# $Id: plcsh,v 1.1 2007/01/08 18:23:14 mlhuang Exp $ # import os @@ -44,6 +44,10 @@ try: url = options.url, xmlrpc = options.xmlrpc, cacert = options.cacert, method = options.method, role = options.role, user = options.user, password = options.password) + # Register a few more globals for backward compatibility + auth = shell.auth + api = shell.api + config = api.config except Exception, err: print "Error:", err print