- register a few more globals for backward compatibility
authorMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:28:49 +0000 (05:28 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:28:49 +0000 (05:28 +0000)
plcsh

diff --git a/plcsh b/plcsh
index ed3e2c4..c7b620e 100755 (executable)
--- a/plcsh
+++ b/plcsh
@@ -5,7 +5,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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