only catch Exceptions

This commit is contained in:
Kenneth Reitz
2012-01-18 11:42:26 -05:00
parent f2596e4cbc
commit 2750238a0c
+1 -1
View File
@@ -123,7 +123,7 @@ try:
if url.scheme == 'mysql':
DATABASES['default']['ENGINE'] = 'django.db.backends.mysql'
except:
except Exception:
print 'Unexpected error:', sys.exc_info()
EOF