[CalendarServer-changes] [13485] CalendarServer/trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri May 16 07:30:46 PDT 2014


Revision: 13485
          http://trac.calendarserver.org//changeset/13485
Author:   cdaboo at apple.com
Date:     2014-05-16 07:30:46 -0700 (Fri, 16 May 2014)
Log Message:
-----------
Whitespace.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/calverify.py
    CalendarServer/trunk/calendarserver/tools/gateway.py
    CalendarServer/trunk/calendarserver/tools/resources.py
    CalendarServer/trunk/calendarserver/tools/test/test_agent.py
    CalendarServer/trunk/calendarserver/tools/test/test_calverify.py
    CalendarServer/trunk/calendarserver/tools/test/test_resources.py
    CalendarServer/trunk/twistedcaldav/test/test_cache.py
    CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py
    CalendarServer/trunk/twistedcaldav/test/test_localization.py
    CalendarServer/trunk/twistedcaldav/upgrade.py
    CalendarServer/trunk/txdav/caldav/datastore/scheduling/ischedule/localservers.py
    CalendarServer/trunk/txdav/caldav/datastore/scheduling/test/test_utils.py
    CalendarServer/trunk/txdav/caldav/datastore/test/test_util.py
    CalendarServer/trunk/txdav/common/datastore/podding/test/test_conduit.py
    CalendarServer/trunk/txdav/common/datastore/podding/test/util.py
    CalendarServer/trunk/txdav/who/directory.py
    CalendarServer/trunk/txdav/who/test/support.py
    CalendarServer/trunk/txdav/who/util.py

Modified: CalendarServer/trunk/calendarserver/tools/calverify.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/calverify.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/calverify.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -724,7 +724,6 @@
         returnValue((caldata, rows[0][1], rows[0][2], rows[0][3],) if rows else (None, None, None, None,))
 
 
-
     @inlineCallbacks
     def removeEvent(self, resid):
         """

Modified: CalendarServer/trunk/calendarserver/tools/gateway.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/gateway.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/gateway.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -222,6 +222,7 @@
     def command_getLocationList(self, command):
         return self.respondWithRecordsOfTypes(self.dir, command, ["locations"])
 
+
     @inlineCallbacks
     def _saveRecord(self, typeName, recordType, command, oldFields=None):
         """
@@ -337,6 +338,7 @@
             oldFields=record.fields
         )
 
+
     @inlineCallbacks
     def command_setResourceAttributes(self, command):
         uid = command['GeneratedUID']
@@ -475,6 +477,7 @@
     def command_listReadProxies(self, command):
         return self._listProxies(command, "read")
 
+
     @inlineCallbacks
     def _listProxies(self, command, proxyType):
         record = yield recordForPrincipalID(self.dir, command['Principal'])

Modified: CalendarServer/trunk/calendarserver/tools/resources.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/resources.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/resources.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -177,9 +177,6 @@
 
 
 
-
-
-
 @inlineCallbacks
 def migrateResources(sourceService, destService, verbose=False):
 
@@ -209,6 +206,5 @@
 
 
 
-
 if __name__ == "__main__":
     main()

Modified: CalendarServer/trunk/calendarserver/tools/test/test_agent.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/test/test_agent.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/test/test_agent.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -31,6 +31,7 @@
         def __init__(self, shortName):
             self.shortNames = [shortName]
 
+
     class AgentTestCase(TestCase):
 
         def test_AgentRealm(self):

Modified: CalendarServer/trunk/calendarserver/tools/test/test_calverify.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/test/test_calverify.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/test/test_calverify.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -609,7 +609,6 @@
 
 
 
-
 class CalVerifyMismatchTestsBase(StoreTestCase):
     """
     Tests calverify for iCalendar mismatch problems.

Modified: CalendarServer/trunk/calendarserver/tools/test/test_resources.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/test/test_resources.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/calendarserver/tools/test/test_resources.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -29,6 +29,7 @@
     pass
 
 
+
 class MigrateResourcesTest(StoreTestCase):
 
     @inlineCallbacks
@@ -67,7 +68,6 @@
         yield self.sourceService.updateRecords(records, create=True)
 
 
-
     @inlineCallbacks
     def test_migrateResources(self):
 

Modified: CalendarServer/trunk/twistedcaldav/test/test_cache.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_cache.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/twistedcaldav/test/test_cache.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -66,6 +66,7 @@
     def oldNameToRecordType(self, oldName):
         return oldName
 
+
     def recordWithShortName(self, recordType, recordName):
         return StubDirectoryRecord(recordName)
 

Modified: CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/twistedcaldav/test/test_collectioncontents.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -191,7 +191,6 @@
             c += 1
 
 
-
     @inlineCallbacks
     def test_fail_dot_file_put_in_calendar(self):
         """

Modified: CalendarServer/trunk/twistedcaldav/test/test_localization.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/test/test_localization.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/twistedcaldav/test/test_localization.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -186,4 +186,3 @@
         self.assertEquals(_remapLanguageCode("en"), "en")
         self.assertEquals(_remapLanguageCode("zh-Hans"), "zh_CN")
         self.assertEquals(_remapLanguageCode("zh-Hant"), "zh_TW")
-

Modified: CalendarServer/trunk/twistedcaldav/upgrade.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/upgrade.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/twistedcaldav/upgrade.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -333,8 +333,6 @@
         os.rename(oldHome, newHome)
 
 
-
-
     def createMailTokensDatabase(config, uid, gid):
         # Cause the tokens db to be created on disk so we can set the
         # permissions on it now

Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling/ischedule/localservers.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling/ischedule/localservers.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling/ischedule/localservers.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -132,7 +132,6 @@
 
 
 
-
 class Server(object):
     """
     Represents a server.

Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling/test/test_utils.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling/test/test_utils.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling/test/test_utils.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -109,7 +109,6 @@
         yield self.populate()
 
 
-
     @inlineCallbacks
     def populate(self):
         yield populateCalendarsFrom(self.requirements, self.storeUnderTest())

Modified: CalendarServer/trunk/txdav/caldav/datastore/test/test_util.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/test/test_util.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/caldav/datastore/test/test_util.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -332,7 +332,6 @@
         )
 
 
-
     @inlineCallbacks
     def test_migrateEmptyHome(self):
         """

Modified: CalendarServer/trunk/txdav/common/datastore/podding/test/test_conduit.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/podding/test/test_conduit.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/common/datastore/podding/test/test_conduit.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -73,7 +73,6 @@
         yield self.populate()
 
 
-
     @inlineCallbacks
     def populate(self):
         yield populateCalendarsFrom(self.requirements, self.storeUnderTest())

Modified: CalendarServer/trunk/txdav/common/datastore/podding/test/util.py
===================================================================
--- CalendarServer/trunk/txdav/common/datastore/podding/test/util.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/common/datastore/podding/test/util.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -134,7 +134,6 @@
         FakeConduitRequest.addServerStore(server2b, self.store2)
 
 
-
     def configure(self):
         super(MultiStoreConduitTest, self).configure()
         self.config.Servers.Enabled = True
@@ -183,7 +182,6 @@
         self.otherTransaction = None
 
 
-
     def makeConduit(self, store):
         conduit = PoddingConduit(store)
         conduit.conduitRequestClass = FakeConduitRequest

Modified: CalendarServer/trunk/txdav/who/directory.py
===================================================================
--- CalendarServer/trunk/txdav/who/directory.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/who/directory.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -51,8 +51,6 @@
 
     guid = "1332A615-4D3A-41FE-B636-FBE25BFB982E"
 
-
-
     serversDB = None
 
     def setServersDB(self, serversDB):

Modified: CalendarServer/trunk/txdav/who/test/support.py
===================================================================
--- CalendarServer/trunk/txdav/who/test/support.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/who/test/support.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -53,7 +53,7 @@
         recordsByUID = dict(((record.uid, record) for record in records))
         if not create:
             # Make sure all the records already exist
-            for uid, record in recordsByUID.items():
+            for uid, _ignore_record in recordsByUID.items():
                 if uid not in self._index[self.fieldName.uid]:
                     raise NoSuchRecordError(uid)
 

Modified: CalendarServer/trunk/txdav/who/util.py
===================================================================
--- CalendarServer/trunk/txdav/who/util.py	2014-05-16 01:54:55 UTC (rev 13484)
+++ CalendarServer/trunk/txdav/who/util.py	2014-05-16 14:30:46 UTC (rev 13485)
@@ -76,6 +76,7 @@
     )
 
 
+
 def buildDirectory(
     store, dataRoot, servicesInfo, augmentServiceInfo, wikiServiceInfo,
     serversDB=None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140516/0a3f27f2/attachment-0001.html>


More information about the calendarserver-changes mailing list