Revision
6455
Author
sagen@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

Diff

Modified: CalendarServer/trunk/calendarserver/tools/gateway.py (6454 => 6455)


--- 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 (6454 => 6455)


--- 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 (6454 => 6455)


--- 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