[CalendarServer-changes] [7015] CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/ sql.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Feb 16 06:41:49 PST 2011


Revision: 7015
          http://trac.macosforge.org/projects/calendarserver/changeset/7015
Author:   glyph at apple.com
Date:     2011-02-16 06:41:48 -0800 (Wed, 16 Feb 2011)
Log Message:
-----------
what a difference a '!' makes

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py

Modified: CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py
===================================================================
--- CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py	2011-02-16 14:41:37 UTC (rev 7014)
+++ CalendarServer/branches/users/glyph/dalify/txdav/common/datastore/sql.py	2011-02-16 14:41:48 UTC (rev 7015)
@@ -725,7 +725,7 @@
                 [bind.RESOURCE_ID], From=bind,
                 Where=(bind.RESOURCE_NAME == sharename).And(
                     bind.HOME_RESOURCE_ID == self._resourceID).And(
-                        bind.BIND_MODE == _BIND_MODE_OWN)
+                        bind.BIND_MODE != _BIND_MODE_OWN)
             ).on(self._txn))[0][0]
             results = [
                 (
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110216/f0dcdbcb/attachment.html>


More information about the calendarserver-changes mailing list