renmaed _genicw to _sfacm
authorTony Mack <tmack@cs.princeton.edu>
Wed, 6 Jan 2010 02:16:16 +0000 (02:16 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 6 Jan 2010 02:16:16 +0000 (02:16 +0000)
api.py

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