Permalink
Browse files

Merge pull request #177 from benthepoet/master

FirebirdDB __init__ needs to be fixed
  • Loading branch information...
2 parents 914ceb7 + 6e36b87 commit 875ef3dd712cd56dc3b6c2ae8907c389790a1a86 @aaronsw aaronsw committed Aug 20, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 web/db.py
View
9 web/db.py
@@ -1044,10 +1044,11 @@ def __init__(self, **keywords):
db = None
pass
if 'pw' in keywords:
- keywords['passwd'] = keywords['pw']
- del keywords['pw']
- keywords['database'] = keywords['db']
- del keywords['db']
+ keywords['password'] = keywords.pop('pw')
+ keywords['database'] = keywords.pop('db')
+
+ self.paramstyle = db.paramstyle
+
DB.__init__(self, db, keywords)
def delete(self, table, where=None, using=None, vars=None, _test=False):

0 comments on commit 875ef3d

Please sign in to comment.