Skip to content
This repository
Browse code

Merge pull request #177 from benthepoet/master

FirebirdDB __init__ needs to be fixed
  • Loading branch information...
commit 875ef3dd712cd56dc3b6c2ae8907c389790a1a86 2 parents 914ceb7 + 6e36b87
Aaron Swartz aaronsw authored

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. +5 4 web/db.py
9 web/db.py
@@ -1044,10 +1044,11 @@ def __init__(self, **keywords):
1044 1044 db = None
1045 1045 pass
1046 1046 if 'pw' in keywords:
1047   - keywords['passwd'] = keywords['pw']
1048   - del keywords['pw']
1049   - keywords['database'] = keywords['db']
1050   - del keywords['db']
  1047 + keywords['password'] = keywords.pop('pw')
  1048 + keywords['database'] = keywords.pop('db')
  1049 +
  1050 + self.paramstyle = db.paramstyle
  1051 +
1051 1052 DB.__init__(self, db, keywords)
1052 1053
1053 1054 def delete(self, table, where=None, using=None, vars=None, _test=False):

0 comments on commit 875ef3d

Please sign in to comment.
Something went wrong with that request. Please try again.