From: Mark Huang Date: Thu, 11 Jan 2007 05:28:49 +0000 (+0000) Subject: - register a few more globals for backward compatibility X-Git-Tag: pycurl-7_13_1~142 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2b2e29c4da75191d61fcde4124991fa32d489bff;hp=c0d164b1e0329b22638c4f5b0250364084ea70cc;p=plcapi.git - register a few more globals for backward compatibility --- 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