~launchpad-committers/storm/lp

« back to all changes in this revision

Viewing changes to storm/sqlobject.py

  • Committer: Colin Watson
  • Date: 2020-01-26 10:43:43 UTC
  • mfrom: (386.34.95 storm)
  • Revision ID: cjwatson@canonical.com-20200126104343-kcjdu5zj3ro5fwx3
Merge Storm 0.22 release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
167
167
 
168
168
        attr_to_prop = {}
169
169
        for attr, prop in list(six.iteritems(dict)):
 
170
            if attr == "__classcell__":  # Python >= 3.6
 
171
                continue
170
172
            attr_to_prop[attr] = attr
171
173
            if isinstance(prop, ForeignKey):
172
174
                db_name = prop.kwargs.get("dbName", attr)