[CalendarServer-changes] [795]
CalendarServer/trunk/twistedcaldav/directory/sqldb.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Dec 11 17:01:38 PST 2006
Revision: 795
http://trac.macosforge.org/projects/calendarserver/changeset/795
Author: wsanchez at apple.com
Date: 2006-12-11 17:01:37 -0800 (Mon, 11 Dec 2006)
Log Message:
-----------
Fix broken __repr__
Modified Paths:
--------------
CalendarServer/trunk/twistedcaldav/directory/sqldb.py
Modified: CalendarServer/trunk/twistedcaldav/directory/sqldb.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/sqldb.py 2006-12-11 23:38:57 UTC (rev 794)
+++ CalendarServer/trunk/twistedcaldav/directory/sqldb.py 2006-12-12 01:01:37 UTC (rev 795)
@@ -261,9 +261,9 @@
realmName = property(lambda self: self.manager.realmName)
def __repr__(self):
- return "<%s %r: %r>" % (self.__class__.__name__, self.realmName, self.xmlFile)
+ return "<%s %r: %r>" % (self.__class__.__name__, self.realmName, self.manager.dbpath)
- def __init__(self, dbParentPath, xmlFile = None):
+ def __init__(self, dbParentPath, xmlFile=None):
super(SQLDirectoryService, self).__init__()
if type(dbParentPath) is str:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20061211/2074dcdc/attachment.html
More information about the calendarserver-changes
mailing list