예제 #1
0
 def saveAuthKey(self, lines):
     logging.info("Saving auth key to datastore")
     key = AuthKey(key_name="AUTHKEY")
     key.sid = lines[0][4:-1]
     key.lsid = lines[1][5:-1]
     key.auth = lines[2][5:-1]
     key.put()
예제 #2
0
 def saveAuthKey(self, lines):
     logging.info("Saving auth key to datastore")
     key = AuthKey(key_name = "AUTHKEY")
     key.sid = lines[0][4:-1]
     key.lsid = lines[1][5:-1]
     key.auth = lines[2][5:-1]
     key.put()