[CalendarServer-changes] [13450] CalendarServer/trunk/txdav/base/datastore/subpostgres.py

source_changes at macosforge.org source_changes at macosforge.org
Tue May 6 11:26:34 PDT 2014


Revision: 13450
          http://trac.calendarserver.org//changeset/13450
Author:   wsanchez at apple.com
Date:     2014-05-06 11:26:34 -0700 (Tue, 06 May 2014)
Log Message:
-----------
Don't try to quote ints

Modified Paths:
--------------
    CalendarServer/trunk/txdav/base/datastore/subpostgres.py

Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2014-05-06 01:34:49 UTC (rev 13449)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2014-05-06 18:26:34 UTC (rev 13450)
@@ -447,11 +447,11 @@
             )
         options.append(
             "-c shared_buffers={:d}"
-            .format(shell_quote(self.sharedBuffers))
+            .format(self.sharedBuffers)  # int: don't quote
         )
         options.append(
             "-c max_connections={:d}"
-            .format(shell_quote(self.maxConnections))
+            .format(self.maxConnections)  # int: don't quote
         )
         options.append("-c standard_conforming_strings=on")
         options.append("-c unix_socket_permissions=0770")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140506/cb06a546/attachment.html>


More information about the calendarserver-changes mailing list