From 0f3229a119e53054d98c5e878a9581403628cd08 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Feb 2019 20:44:52 +0100 Subject: Migrate to python 3 - Clean old migrations and some old scripts --- example_project/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example_project/settings.py') diff --git a/example_project/settings.py b/example_project/settings.py index f13e5f0ce..8a7343212 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -274,7 +274,7 @@ TEST_RUNNER = 'ishtar_common.tests.ManagedModelTestRunner' try: from local_settings import * -except ImportError, e: +except ImportError as e: print('Unable to load local_settings.py:', e) if LANGUAGE_CODE == "fr-fr" and SRID == 4326: -- cgit v1.2.3