diff --git a/bin/compile b/bin/compile index 8a20d87..a5f4a0f 100755 --- a/bin/compile +++ b/bin/compile @@ -66,11 +66,16 @@ try: 'HOST': url.hostname, 'PORT': url.port, } + print 1 if url.scheme == 'postgres': - DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2', + DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2' + print 2 + print DATABASES if url.scheme == 'mysql': - DATABASES['default']['ENGINE'] = 'django.db.backends.mysql', + DATABASES['default']['ENGINE'] = 'django.db.backends.mysql' + print 3 except: + print 4 print "Unexpected error:", sys.exc_info() EOF