From 2750238a0cbeade6aa6dc6ecbe187d260baa178d Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Wed, 18 Jan 2012 11:42:26 -0500
Subject: [PATCH] only catch Exceptions

---
 bin/compile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/compile b/bin/compile
index 1403bf4b..4ad531de 100755
--- a/bin/compile
+++ b/bin/compile
@@ -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
-- 
GitLab