Source

thrifty-p2p / storeput.py

Diff from to

storeput.py

         loc = str2loc(options.peer)
     else:
         loc = find_matching_service(Location('localhost', DEFAULTPORT), SERVICENAME) or sys.exit()
-    remote_call(loc, 'put', key, value)
+    remote_call('put', loc, key, value)