[CalendarServer-changes] [11821] CalendarServer/trunk/txdav/base/datastore
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:23:12 PDT 2014
Revision: 11821
http://trac.calendarserver.org//changeset/11821
Author: cdaboo at apple.com
Date: 2013-10-17 07:12:16 -0700 (Thu, 17 Oct 2013)
Log Message:
-----------
Whitespace.
Modified Paths:
--------------
CalendarServer/trunk/txdav/base/datastore/subpostgres.py
CalendarServer/trunk/txdav/base/datastore/test/test_subpostgres.py
Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2013-10-17 14:06:44 UTC (rev 11820)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py 2013-10-17 14:12:16 UTC (rev 11821)
@@ -492,7 +492,7 @@
log.failure("Can't start or connect to postgres", f)
self.deactivateDelayedShutdown()
self.reactor.stop()
-
+
self.monitor.completionDeferred.addCallback(
gotReady).addErrback(couldNotStart)
@@ -572,6 +572,7 @@
# d.addCallback(maybeStopSubprocess)
# return d
+
def hardStop(self):
"""
Stop postgres quickly by sending it SIGQUIT
@@ -579,5 +580,5 @@
if self._postgresPid is not None:
try:
os.kill(self._postgresPid, signal.SIGQUIT)
- except OSError:
+ except OSError:
pass
Modified: CalendarServer/trunk/txdav/base/datastore/test/test_subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/test/test_subpostgres.py 2013-10-17 14:06:44 UTC (rev 11820)
+++ CalendarServer/trunk/txdav/base/datastore/test/test_subpostgres.py 2013-10-17 14:12:16 UTC (rev 11821)
@@ -189,5 +189,3 @@
cursor.execute("select * from import_test_table")
values = cursor.fetchall()
self.assertEquals(values, [["value1"], ["value2"]])
-
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/3ed8c373/attachment.html>
More information about the calendarserver-changes
mailing list