[CalendarServer-changes] [11105] CalendarServer/branches/users/cdaboo/store-scheduling/ calendarserver/tools/purge.py
source_changes at macosforge.org
source_changes at macosforge.org
Fri Apr 26 11:34:47 PDT 2013
Revision: 11105
http://trac.calendarserver.org//changeset/11105
Author: cdaboo at apple.com
Date: 2013-04-26 11:34:47 -0700 (Fri, 26 Apr 2013)
Log Message:
-----------
Remove FakeRequest.
Modified Paths:
--------------
CalendarServer/branches/users/cdaboo/store-scheduling/calendarserver/tools/purge.py
Modified: CalendarServer/branches/users/cdaboo/store-scheduling/calendarserver/tools/purge.py
===================================================================
--- CalendarServer/branches/users/cdaboo/store-scheduling/calendarserver/tools/purge.py 2013-04-26 18:03:07 UTC (rev 11104)
+++ CalendarServer/branches/users/cdaboo/store-scheduling/calendarserver/tools/purge.py 2013-04-26 18:34:47 UTC (rev 11105)
@@ -17,7 +17,6 @@
##
from __future__ import print_function
-from calendarserver.tap.util import FakeRequest
from calendarserver.tools import tables
from calendarserver.tools.cmdline import utilityMain, WorkerService
from calendarserver.tools.util import removeProxy
@@ -757,12 +756,6 @@
principalCollection = self.directory.principalCollection
principal = principalCollection.principalForRecord(record)
- request = FakeRequest(self.root, None, None)
- request.checkedSACL = True
- request.authnUser = request.authzUser = davxml.Principal(
- davxml.HRef.fromString("/principals/__uids__/%s/" % (uid,))
- )
-
# See if calendar home is provisioned
txn = self._store.newTransaction()
storeCalHome = (yield txn.calendarHomeWithUID(uid))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20130426/b93e9ca0/attachment.html>
More information about the calendarserver-changes
mailing list