Changeset 549
- Timestamp:
- 08/16/07 21:55:02 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
pagoda/trunk/Pagoda/pagoda/models/revision_mapper.py
r548 r549 185 185 186 186 """ 187 188 187 # Determine tables that will get new records, according to their 189 188 # primary key. If they have an explicit primary key, do not insert … … 206 205 inserted_values = inserted_params.get_original_dict() 207 206 # Update with primary key values. 208 primary_keys = list(insert_table.primary_key )207 primary_keys = list(insert_table.primary_key.keys()) 209 208 inserted_ids = insert_result.last_inserted_ids() 210 209 inserted_values.update(dict(zip(primary_keys, inserted_ids)))
