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:20:36 +0200 |
| commit | f1f8aa9216e0953b644c66b62912c2ac14e78557 (patch) | |
| tree | 816566074fc277c3415d700f23859bd2c0194757 /opendc/models/model.py | |
| parent | cd116ba5063b9bfda029196b310207b45e21604a (diff) | |
python3 progress
Diffstat (limited to 'opendc/models/model.py')
| -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: |
