[CalendarServer-changes] [14720] CalendarServer/trunk/calendarserver/tools

source_changes at macosforge.org source_changes at macosforge.org
Wed Apr 29 08:03:49 PDT 2015


Revision: 14720
          http://trac.calendarserver.org//changeset/14720
Author:   cdaboo at apple.com
Date:     2015-04-29 08:03:49 -0700 (Wed, 29 Apr 2015)
Log Message:
-----------
Whitespace.

Modified Paths:
--------------
    CalendarServer/trunk/calendarserver/tools/trash.py
    CalendarServer/trunk/calendarserver/tools/util.py

Modified: CalendarServer/trunk/calendarserver/tools/trash.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/trash.py	2015-04-29 13:23:53 UTC (rev 14719)
+++ CalendarServer/trunk/calendarserver/tools/trash.py	2015-04-29 15:03:49 UTC (rev 14720)
@@ -145,10 +145,12 @@
     yield store.inTransaction(label="List trashed collections", operation=doIt)
 
 
+
 def startString(pydt):
     return pydt.getLocaleDateTime(DateTime.FULLDATE, False, True, pydt.getTimezoneID())
 
 
+
 @inlineCallbacks
 def printEventDetails(event):
     nowPyDT = DateTime.getNowUTC()
@@ -308,6 +310,7 @@
     yield store.inTransaction(label="Restore trashed event", operation=doIt)
 
 
+
 @inlineCallbacks
 def emptyTrashForPrincipal(service, store, principalUID, days, txn=None, verbose=True):
     directory = store.directoryService()
@@ -317,6 +320,7 @@
             print("No record found for:", principalUID)
         returnValue(None)
 
+
     @inlineCallbacks
     def doIt(txn):
         home = yield txn.calendarHomeWithUID(principalUID)
@@ -334,8 +338,5 @@
 
 
 
-
-
-
 if __name__ == "__main__":
     main()

Modified: CalendarServer/trunk/calendarserver/tools/util.py
===================================================================
--- CalendarServer/trunk/calendarserver/tools/util.py	2015-04-29 13:23:53 UTC (rev 14719)
+++ CalendarServer/trunk/calendarserver/tools/util.py	2015-04-29 15:03:49 UTC (rev 14720)
@@ -453,6 +453,7 @@
     )
 
 
+
 def displayNameForCollection(collection):
     try:
         displayName = collection.properties()[
@@ -465,6 +466,7 @@
     return displayName
 
 
+
 def agoString(delta):
     if delta.days:
         agoString = "{} days ago".format(delta.days)
@@ -481,6 +483,7 @@
     return agoString
 
 
+
 def locationString(component):
     locationProps = component.properties("LOCATION")
     if locationProps is not None:
@@ -493,6 +496,7 @@
     return locationString
 
 
+
 @inlineCallbacks
 def getEventDetails(event):
     detail = {}
@@ -546,6 +550,7 @@
     returnValue(detail)
 
 
+
 class ProxyError(Exception):
     """
     Raised when proxy assignments cannot be performed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20150429/2796d71e/attachment.html>


More information about the calendarserver-changes mailing list