equal
deleted
inserted
replaced
326 if name == prop_name: |
326 if name == prop_name: |
327 break |
327 break |
328 else: |
328 else: |
329 props.append((prop_name, ASCENDING)) |
329 props.append((prop_name, ASCENDING)) |
330 |
330 |
331 if (kind and not ancestor and |
331 if kind and not ancestor and len(props) <= 1: |
332 (not props or (len(props) == 1 and props[0][1] == ASCENDING))): |
|
333 required = False |
332 required = False |
334 |
333 |
335 if props: |
334 if props: |
336 prop, dir = props[0] |
335 prop, dir = props[0] |
337 if prop in datastore_types._SPECIAL_PROPERTIES and dir is DESCENDING: |
336 if prop in datastore_types._SPECIAL_PROPERTIES and dir is DESCENDING: |