[CalendarServer-changes] [6455] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri Oct 22 15:12:08 PDT 2010


Revision: 6455
          http://trac.macosforge.org/projects/calendarserver/changeset/6455
Author:   sagen at apple.com
Date:     2010-10-22 15:12:06 -0700 (Fri, 22 Oct 2010)
Log Message:
-----------
Clean up some things found by pyflakes

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/gateway.py
    CalendarServer/trunk/calendarserver/tools/resources.py
    CalendarServer/trunk/twistedcaldav/directory/aggregate.py

Modified: CalendarServer/trunk/calendarserver/tools/gateway.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/gateway.py	2010-10-22 21:54:28 UTC (rev 6454)
+++ CalendarServer/trunk/calendarserver/tools/gateway.py	2010-10-22 22:12:06 UTC (rev 6455)
@@ -26,7 +26,7 @@
 from twext.python.plistlib import readPlistFromString, writePlistToString
 
 from twisted.internet import reactor
-from twisted.internet.defer import inlineCallbacks, returnValue
+from twisted.internet.defer import inlineCallbacks
 from twisted.python.util import switchUID
 from twistedcaldav.config import config, ConfigurationError
 from twistedcaldav.directory.directory import DirectoryError

Modified: CalendarServer/trunk/calendarserver/tools/resources.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/resources.py	2010-10-22 21:54:28 UTC (rev 6454)
+++ CalendarServer/trunk/calendarserver/tools/resources.py	2010-10-22 22:12:06 UTC (rev 6455)
@@ -16,7 +16,6 @@
 # limitations under the License.
 ##
 
-from calendarserver.tools.principals import updateRecord
 from calendarserver.tools.util import loadConfig, getDirectory, setupMemcached, checkDirectory
 from getopt import getopt, GetoptError
 from grp import getgrnam

Modified: CalendarServer/trunk/twistedcaldav/directory/aggregate.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/directory/aggregate.py	2010-10-22 21:54:28 UTC (rev 6454)
+++ CalendarServer/trunk/twistedcaldav/directory/aggregate.py	2010-10-22 22:12:06 UTC (rev 6455)
@@ -236,10 +236,6 @@
         service = self.serviceForRecordType(recordType)
         return service.destroyRecord(recordType, guid=guid)
 
-    def createRecords(self, data):
-        service = self.serviceForRecordType(recordType)
-        return service.createRecords(data)
-
     def setRealm(self, realmName):
         """
         Set a new realm name for this and nested services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101022/81543bc8/attachment.html>


More information about the calendarserver-changes mailing list