def __CheckFilterSyntax(self, identifier, condition):
    if identifier.lower() == 'ancestor':
      if condition.lower() == 'is':
        if self.__has_ancestor:
          self.__Error('Only one ANCESTOR IS" clause allowed')
      else:
        self.__Error('"IS" expected to follow "ANCESTOR"')
    elif condition.lower() == 'is':
      self.__Error('"IS" can only be used when comparing against "ANCESTOR"')
Download a URI from a website using Django by loging-in first
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/ext/gql/__init__.py/GQL.__CheckFilterSyntax--crossover with--dataset/ETHPy150Open kobotoolbox/kobocat/script/i18ntool.py/download_with_login