def get_groups(token):
  c = client()
  c.override_token = token
    
  resource = GROUPS_RESOURCE
  try:
    feed_json = c.Get(resource, converter=converter)
    rv = simplejson.loads(feed_json)
  except gdata.service.RequestError, e:
    raise
    if e.args and e.args[0] in 'status' and e.args[0]['status'] == 401:
      raise exception.ServiceError('Invalid AuthSub token')
    raise
  
  return rv['feed']['entry']
dataset/ETHPy150Open CollabQ/CollabQ/common/google_contacts.py/get_groups/swapped operands of `in`