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

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 8 20:22:42 PDT 2010


Revision: 6262
          http://trac.macosforge.org/projects/calendarserver/changeset/6262
Author:   cdaboo at apple.com
Date:     2010-09-08 20:22:41 -0700 (Wed, 08 Sep 2010)
Log Message:
-----------
Don't listen if no listen addresses specified.

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

Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2010-09-09 01:17:08 UTC (rev 6261)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2010-09-09 03:22:41 UTC (rev 6262)
@@ -379,8 +379,7 @@
         # check consistency of initdb and postgres?
         
         options = []
-        if self.listenAddresses:
-            options.append("-c listen_addresses='%s'" % (",".join(self.listenAddresses)))
+        options.append("-c listen_addresses='%s'" % (",".join(self.listenAddresses)))
         if self.socketDir:
             options.append("-k '%s'" % (self.socketDir.path,))
         options.append("-c shared_buffers=%d" % (self.sharedBuffers,))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20100908/6301f0f1/attachment.html>


More information about the calendarserver-changes mailing list