def MultiResolvePrefix(self, subjects, attribute_prefix, timestamp=None,
                         limit=None, token=None):
    """Result multiple subjects using one or more attribute prefixes."""
    result = {}

    remaining_limit = limit
    for subject in subjects:
      values = self.ResolvePrefix(subject, attribute_prefix, token=token,
                                  timestamp=timestamp, limit=remaining_limit)

      if values:
        if limit:
          if remaining_limit >= len(values):
            result[subject] = values[:remaining_limit]
            return result.iteritems()
          remaining_limit -= len(values)
        result[subject] = values

    return result.iteritems()
dataset/ETHPy150Open google/grr/grr/lib/data_stores/sqlite_data_store.py/SqliteDataStore.MultiResolvePrefix/swapped operands of `>=`