equal
deleted
inserted
replaced
420 value = row[index] |
420 value = row[index] |
421 if value is None: |
421 if value is None: |
422 # None value inserted by an outer join, no type |
422 # None value inserted by an outer join, no type |
423 row_descr[index] = None |
423 row_descr[index] = None |
424 continue |
424 continue |
425 if isfinal: |
425 try: |
426 row_descr[index] = etype_from_pyobj(value) |
426 if isfinal: |
427 else: |
427 row_descr[index] = etype_from_pyobj(value) |
428 row_descr[index] = etype_from_eid(value)[0] |
428 else: |
|
429 row_descr[index] = etype_from_eid(value)[0] |
|
430 except UnknownEid: |
|
431 self.critical('wrong eid in repository, should check database') |
|
432 row_descr[index] = row[index] = None |
429 description.append(tuple(row_descr)) |
433 description.append(tuple(row_descr)) |
430 return description |
434 return description |
431 |
435 |
432 |
436 |
433 class ChildSession(Session): |
437 class ChildSession(Session): |