Permalink
Browse files

debug wtf with get_db

  • Loading branch information...
1 parent 5639468 commit f59188c4bbfd4e37c41a32b211aa893781d1d66e Eugene Efremov committed May 13, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 discoversong/db.py
View
@@ -4,11 +4,11 @@
import config
def get_db(dbname=config.DB_URL_NAME):
-
+ print 'get_db', dbname
dburl = os.environ[dbname]
-
+ print dburl
dbn, dburl = dburl.split('://')
-
+ print dbn, dburl
dbuser, dburl = dburl.split(':')
dbpw, dburl = dburl.split('@')

0 comments on commit f59188c

Please sign in to comment.