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

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 14:29:43 PDT 2015


Revision: 14561
          http://trac.calendarserver.org//changeset/14561
Author:   wsanchez at apple.com
Date:     2015-03-11 14:29:43 -0700 (Wed, 11 Mar 2015)
Log Message:
-----------
Use pg8000

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

Modified: CalendarServer/trunk/txdav/base/datastore/subpostgres.py
===================================================================
--- CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2015-03-11 20:58:55 UTC (rev 14560)
+++ CalendarServer/trunk/txdav/base/datastore/subpostgres.py	2015-03-11 21:29:43 UTC (rev 14561)
@@ -26,10 +26,7 @@
 from hashlib import md5
 from pipes import quote as shell_quote
 
-if True:
-    import pgdb as postgres
-else:
-    import pg8000 as postgres
+import pg8000 as postgres
 
 from twisted.python.procutils import which
 from twisted.internet.protocol import ProcessProtocol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150311/52afddb2/attachment.html>


More information about the calendarserver-changes mailing list