Commit 2750238a authored by Kenneth Reitz's avatar Kenneth Reitz

only catch Exceptions

parent f2596e4c
...@@ -123,7 +123,7 @@ try: ...@@ -123,7 +123,7 @@ try:
if url.scheme == 'mysql': if url.scheme == 'mysql':
DATABASES['default']['ENGINE'] = 'django.db.backends.mysql' DATABASES['default']['ENGINE'] = 'django.db.backends.mysql'
except: except Exception:
print 'Unexpected error:', sys.exc_info() print 'Unexpected error:', sys.exc_info()
EOF EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment