Skip to content

Commit

Permalink
init props for real
Browse files Browse the repository at this point in the history
  • Loading branch information
evertheylen committed May 17, 2016
1 parent e19d786 commit b9a70df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparrow/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ def __metainit__(obj, db_args=None, json_dict=None, **kwargs):
if isinstance(cls.key, Property):
cls.key.cls = cls

cls._select_props = ", ".join([p.name for p in itertools.chain(init_properties, init_raw_ref_properties)])
cls._select_props = ", ".join([p.name for p in itertools.chain([p for p, c in init_properties], init_raw_ref_properties)])
cls._create_table_command = CreateTable(cls).to_raw()
cls._drop_table_command = DropTable(cls).to_raw()
if cls._incomplete:
Expand Down

0 comments on commit b9a70df

Please sign in to comment.