Skip to content

Commit

Permalink
Password keyword for FirebirdDB was wrong, was passwd should be passw…
Browse files Browse the repository at this point in the history
…ord. Corrected syntax for setting the database and password keywords. Now uses pop() to maintain consistency with the other drivers.
  • Loading branch information
Ben Hanna committed Aug 20, 2012
1 parent a807b63 commit 6e36b87
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions web/db.py
Expand Up @@ -1044,10 +1044,8 @@ 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

Expand Down

0 comments on commit 6e36b87

Please sign in to comment.