Skip to content

Commit

Permalink
Merge pull request #177 from benthepoet/master
Browse files Browse the repository at this point in the history
FirebirdDB __init__ needs to be fixed
  • Loading branch information
aaronsw committed Aug 20, 2012
2 parents 914ceb7 + 6e36b87 commit 875ef3d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions web/db.py
Expand Up @@ -1044,10 +1044,11 @@ def __init__(self, **keywords):
db = None db = None
pass pass
if 'pw' in keywords: if 'pw' in keywords:
keywords['passwd'] = keywords['pw'] keywords['password'] = keywords.pop('pw')
del keywords['pw'] keywords['database'] = keywords.pop('db')
keywords['database'] = keywords['db']
del keywords['db'] self.paramstyle = db.paramstyle

DB.__init__(self, db, keywords) DB.__init__(self, db, keywords)


def delete(self, table, where=None, using=None, vars=None, _test=False): def delete(self, table, where=None, using=None, vars=None, _test=False):
Expand Down

0 comments on commit 875ef3d

Please sign in to comment.