git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f39100f
)
renmaed _genicw to _sfacm
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 6 Jan 2010 02:16:16 +0000
(
02:16
+0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 6 Jan 2010 02:16:16 +0000
(
02:16
+0000)
api.py
patch
|
blob
|
history
diff --git
a/api.py
b/api.py
index
015893b
..
c0e360f
100644
(file)
--- a/
api.py
+++ b/
api.py
@@
-65,7
+65,7
@@
class APIRequestHandler(SimpleXMLRPCServer.SimpleXMLRPCRequestHandler):
xid = struct.unpack('3i', ucred)[1]
caller_name = pwd.getpwuid(xid)[0]
# Special case the genicw
- if caller_name == PLC_SLICE_PREFIX+"_
genicw
":
+ if caller_name == PLC_SLICE_PREFIX+"_
sfacm
":
try: result = method(*args)
except Exception, err: raise xmlrpclib.Fault(104, 'Error in call: %s' %err)
# Anyone can call these functions