git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c0d164b
)
- register a few more globals for backward compatibility
author
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:28:49 +0000
(
05:28
+0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Thu, 11 Jan 2007 05:28:49 +0000
(
05:28
+0000)
plcsh
patch
|
blob
|
history
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
#
# 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
#
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)
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
except Exception, err:
print "Error:", err
print