branch | stable |
changeset 2388 | fddb0fd11321 |
parent 1977 | 606923dff11b |
child 2476 | 1294a6bdf3bf |
--- a/hercule.py Thu Jul 16 13:53:33 2009 +0200 +++ b/hercule.py Fri Jul 17 08:17:39 2009 +0200 @@ -106,7 +106,7 @@ password = getpass('password: ') if self.cnx is not None: self.cnx.close() - self.cnx = connect(user=user, password=password, host=host, + self.cnx = connect(login=user, password=password, host=host, database=application) self.schema = self.cnx.get_schema() self.cursor = self.cnx.cursor()