Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian New Member Process
contributors.debian.org
Commits
8bd828be
Commit
8bd828be
authored
Jan 10, 2021
by
Enrico Zini
Browse files
Use the right exception to catch local_settings not existing
parent
05671f24
Changes
1
Hide whitespace changes
Inline
Side-by-side
dc/settings.py
View file @
8bd828be
...
...
@@ -188,7 +188,7 @@ IMPERSONATE_TEST_FIXTURE = "dc.unittest.ImpersonateFixtureMixin"
# fine, use defaults from this file
try
:
from
dc.local_settings
import
*
# noqa
except
Exception
:
except
ModuleNotFoundError
:
pass
# Log to file on top of the normal django logging
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment