a guest Mar 26th, 2019 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 elif o['method'] == 'PUT':
  2.                     if 'address' in o['args']:
  3.                         self.put(o['args']['key'], o['args']['value'], o['args']['address'])
  4.                     else:
  5.                         self.put(o['args']['key'], o['args']['value'], addr)
  6.                 elif o['method'] == 'GET':
  7.                     if 'address' in o['args']:
  8.                         self.get(o['args']['key'], o['args']['address'])
  9.                     else:
  10.                         self.get(o['args']['key'], addr)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand