~ubuntu-branches/debian/jessie/sqlalchemy/jessie

« back to all changes in this revision

Viewing changes to examples/versioning/history_meta.py

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2011-08-01 23:18:16 UTC
  • mfrom: (1.4.15 upstream) (16.1.14 experimental)
  • Revision ID: james.westby@ubuntu.com-20110801231816-6lx797pi3q1fpqst
Tags: 0.7.2-1
* New upstream release
* Bump minimum required python-mako version to 0.4.1 (closes: 635898)

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
            col.unique = False
36
36
 
37
37
            if super_mapper and col_references_table(column, super_mapper.local_table):
38
 
                super_fks.append((col.key, list(super_history_mapper.base_mapper.local_table.primary_key)[0]))
 
38
                super_fks.append((col.key, list(super_history_mapper.local_table.primary_key)[0]))
39
39
 
40
40
            cols.append(col)
41
41