From c50be05fe86b5c4152a5af81ac91260b59e9bb95 Mon Sep 17 00:00:00 2001 From: Craig Kerstiens Date: Wed, 7 Sep 2011 14:51:23 -0700 Subject: [PATCH] adding some debugging --- bin/compile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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