[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/homefolder/ Cleaned up some whitespace.

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Sep 13 08:15:01 EDT 2006


Log message for revision 70145:
  Cleaned up some whitespace.
  

Changed:
  U   Zope3/trunk/src/zope/app/homefolder/README.txt
  U   Zope3/trunk/src/zope/app/homefolder/homefolder.py
  U   Zope3/trunk/src/zope/app/homefolder/interfaces.py

-=-
Modified: Zope3/trunk/src/zope/app/homefolder/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/README.txt	2006-09-13 11:45:05 UTC (rev 70144)
+++ Zope3/trunk/src/zope/app/homefolder/README.txt	2006-09-13 12:15:00 UTC (rev 70145)
@@ -129,7 +129,7 @@
 
 
 If you try to get a folder and it does not yet exist, `None` will be
-returned if autoCreateAssignment is False. Remember 'dreamcatcher', which 
+returned if autoCreateAssignment is False. Remember 'dreamcatcher', which
 has an assignment, but not a folder:
 
   >>> 'dreamcatcher' in baseFolder

Modified: Zope3/trunk/src/zope/app/homefolder/homefolder.py
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/homefolder.py	2006-09-13 11:45:05 UTC (rev 70144)
+++ Zope3/trunk/src/zope/app/homefolder/homefolder.py	2006-09-13 12:15:00 UTC (rev 70145)
@@ -98,4 +98,3 @@
             return folder
 
     return None
-    

Modified: Zope3/trunk/src/zope/app/homefolder/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/homefolder/interfaces.py	2006-09-13 11:45:05 UTC (rev 70144)
+++ Zope3/trunk/src/zope/app/homefolder/interfaces.py	2006-09-13 12:15:00 UTC (rev 70145)
@@ -34,7 +34,7 @@
     """Home Folder Manager
 
     This utility manages the assignments of home folders to principals. It
-    will create and expect all 
+    will create and expect all
     """
 
     homeFolderBase = Field(
@@ -44,17 +44,18 @@
 
     createHomeFolder = Bool(
         title=_("Create Home Folder"),
-        description=_("Whether home folders should be created upon adding a assignment, if missing."),
+        description=_("Whether home folders should be created upon adding "
+                      "a assignment, if missing."),
         required=True,
         default=True)
-        
+
     autoCreateAssignment = Bool(
         title=_("Auto create assignment"),
         description=_("Whether assignment and folder should be created when "
                       "calling getHomeFolder, if not existing."),
         required=True,
         default=False)
-            
+
     homeFolderRole = Choice(
         title=_("Local Home Folder Role"),
         description=_("The local role that the user will have in "
@@ -63,7 +64,7 @@
         vocabulary="Role Ids",
         default=u'zope.Manager'
         )
-    
+
     containerObject = Field(
         title=_("Container Type to create"),
         description=_("The container type that will be created upon first "
@@ -71,8 +72,8 @@
         required=True,
         default=u'zope.app.folder.Folder'
         )
-                      
 
+
     def assignHomeFolder(principalId, folderName=None, create=None):
         """Assigns a particular folder as the home folder of a principal.
 
@@ -88,7 +89,7 @@
 
     def unassignHomeFolder(principalId, delete=False):
         """Remove a home folder assignment.
-        
+
         If `delete` is `True`, then delete the home folder including all of
         its content.
         """
@@ -97,11 +98,11 @@
         """Get the home folder instance of the specified principal.
 
         If a assignment does not exist and `autoCreateAssignment` is set to
-        `True`, then create the assignment and the homefolder. The homefolder 
+        `True`, then create the assignment and the homefolder. The homefolder
         will always be created regardless of the value of createHomeFolder.
         The folder will be given the same name like the principalId.
-        
-        During creation, the principal should get the rights specified in 
+
+        During creation, the principal should get the rights specified in
         homeFolderRole inside the folder.
 
         If the home folder does not exist and `autoCreateAssignment` is set to



More information about the Zope3-Checkins mailing list