[CalendarServer-changes] [4614] CalendarServer/branches/users/cdaboo/deployment-partition-4593/ twistedcaldav

source_changes at macosforge.org source_changes at macosforge.org
Tue Oct 20 13:41:58 PDT 2009


Revision: 4614
          http://trac.macosforge.org/projects/calendarserver/changeset/4614
Author:   cdaboo at apple.com
Date:     2009-10-20 13:41:55 -0700 (Tue, 20 Oct 2009)
Log Message:
-----------
Need user/password config for PostgreSQL.

Modified Paths:
--------------
    CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py
    CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/directory/calendaruserproxy.py

Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py	2009-10-20 19:59:23 UTC (rev 4613)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/config.py	2009-10-20 20:41:55 UTC (rev 4614)
@@ -95,6 +95,8 @@
     "twistedcaldav.directory.calendaruserproxy.ProxyPostgreSQLDB": {
         "host": "localhost",
         "database": "proxies",
+        "user": "",
+        "password": "",
     },
 }
 

Modified: CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/directory/calendaruserproxy.py
===================================================================
--- CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/directory/calendaruserproxy.py	2009-10-20 19:59:23 UTC (rev 4613)
+++ CalendarServer/branches/users/cdaboo/deployment-partition-4593/twistedcaldav/directory/calendaruserproxy.py	2009-10-20 20:41:55 UTC (rev 4614)
@@ -765,10 +765,10 @@
     PostgreSQL based augment database implementation.
     """
 
-    def __init__(self, host, database):
+    def __init__(self, host, database, user=None, password=None):
         
         ADBAPIPostgreSQLMixin.__init__(self, )
-        ProxyDB.__init__(self, "Proxies", "pgdb", (), host=host, database=database,)
+        ProxyDB.__init__(self, "Proxies", "pgdb", (), host=host, database=database, user=user, password=password)
 
 
 ##
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20091020/29e8c70d/attachment.html>


More information about the calendarserver-changes mailing list