[Mpuls-commits] r5125 - in base/trunk: . mpulsweb/lib
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jun 22 12:56:35 CEST 2011
Author: bh
Date: 2011-06-22 12:56:32 +0200 (Wed, 22 Jun 2011)
New Revision: 5125
Modified:
base/trunk/ChangeLog
base/trunk/mpulsweb/lib/db.py
Log:
* mpulsweb/lib/db.py (DB.getConnection): Fix typos in comment.
Modified: base/trunk/ChangeLog
===================================================================
--- base/trunk/ChangeLog 2011-06-22 09:51:49 UTC (rev 5124)
+++ base/trunk/ChangeLog 2011-06-22 10:56:32 UTC (rev 5125)
@@ -1,3 +1,7 @@
+2011-06-22 Bernhard Herzog <bh at intevation.de>
+
+ * mpulsweb/lib/db.py (DB.getConnection): Fix typos in comment.
+
2011-06-15 Roland Geider <roland.geider at intevation.de>
* mpulsweb/public/styles/all.css: issue2192: align the phase buttons
Modified: base/trunk/mpulsweb/lib/db.py
===================================================================
--- base/trunk/mpulsweb/lib/db.py 2011-06-22 09:51:49 UTC (rev 5124)
+++ base/trunk/mpulsweb/lib/db.py 2011-06-22 10:56:32 UTC (rev 5125)
@@ -82,9 +82,9 @@
# quote all string values for the connect function to make sure
# spaces, single quotes and backslashes don't lead to problems.
# This is particularly important for passwords. The port is an
- # int and os does not need to be quoted. It seems to be a bug
+ # int and so does not need to be quoted. It seems to be a bug
# in psycopg2 that it doesn't this kind of quoting automatically
- # when passing the connectin parameters as keyword arguments.
+ # when passing the connection parameters as keyword arguments.
con = dbapi.connect(database=quote_connect_parameter(self.database),
host=quote_connect_parameter(self.host),
port=self.port,
More information about the Mpuls-commits
mailing list