def set_token_string(self, token_string):
    token_params = cgi.parse_qs(token_string, keep_blank_values=False)
    if 'oauth_token' in token_params:
      self.key = token_params['oauth_token'][0]
    if 'oauth_token_secret' in token_params:
      self.secret = token_params['oauth_token_secret'][0]
Relationships.
dataset/ETHPy150Open acil-bwh/SlicerCIP/Scripted/attic/PicasaSnap/gdata/auth.py/OAuthToken.set_token_string--crossover with--dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/contacts/__init__.py/ContactsEntryToStringWrapper.relation