Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

debug wtf with get_db

  • Loading branch information...
commit f59188c4bbfd4e37c41a32b211aa893781d1d66e 1 parent 5639468
@eae authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 discoversong/db.py
View
6 discoversong/db.py
@@ -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('@')
Please sign in to comment.
Something went wrong with that request. Please try again.