diff options
| author | jc0b <j.burley@vu.nl> | 2020-06-09 14:20:36 +0200 |
|---|---|---|
| committer | jc0b <j.burley@vu.nl> | 2020-06-09 14:42:56 +0200 |
| commit | 6e6ba6fff737f9dd4baf03c72b9f2e7efd89b3d0 (patch) | |
| tree | 5bbe4e401f0ed25319e6e2fa8e9aa5e673d5fc1b /opendc/models | |
| parent | d49328f321362bb410775e9c520a6f0024489416 (diff) | |
python3 progress
Diffstat (limited to 'opendc/models')
| -rw-r--r-- | opendc/models/model.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/model.py b/opendc/models/model.py index 44e4faf8..8ab410d4 100644 --- a/opendc/models/model.py +++ b/opendc/models/model.py @@ -291,7 +291,7 @@ class Model(object): try: last_row_id = database.execute(statement, values) except Exception as e: - print e + print(e) raise exceptions.ForeignKeyError(e.message) if 'id' in self.COLUMNS_PRIMARY_KEY: |
