fix order of expected arguemnts
authorTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 18:37:07 +0000 (18:37 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Mon, 9 Aug 2010 18:37:07 +0000 (18:37 +0000)
sfa/methods/Update.py

index de9dbb0..3b8b55a 100644 (file)
@@ -23,10 +23,8 @@ class Update(Method):
     interfaces = ['registry']
     
     accepts = [
-        Parameter(str, "Credential string"),
         Parameter(dict, "Record dictionary to be updated"),
-        Mixed(Parameter(str, "Human readable name of the original caller"),
-              Parameter(None, "Origin hrn not specified"))
+        Parameter(str, "Credential string"),
         ]
 
     returns = Parameter(int, "1 if successful")