[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/Undo - IUndoManager.py:1.1.2.3 Undo.py:1.1.2.4

Steve Alexander steve@cat-box.net
Fri, 10 May 2002 05:48:49 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/Undo
In directory cvs.zope.org:/tmp/cvs-serv25323/lib/python/Zope/App/Undo

Modified Files:
      Tag: Zope-3x-branch
	IUndoManager.py Undo.py 
Log Message:
Converted tabs to spaces, and other minor formatting changes.
Some files had mixed tabs and spaces, and some files used 4 space tabs
and some used 8 space tabs.

I'd really like folks to check in files that use only spaces for
indentation.



=== Zope3/lib/python/Zope/App/Undo/IUndoManager.py 1.1.2.2 => 1.1.2.3 ===
 
 class IUndoManager(Interface):
-	" Interface for the Undo Manager "
+    " Interface for the Undo Manager "
    
-        def getUndoInfo():
-		""" 
-                Gets all undo information.
-                Note: at the moment, doesnt care where called from
+    def getUndoInfo():
+        """ 
+        Gets all undo information.
+        Note: at the moment, doesnt care where called from
+
+        returns sequence of mapping objects by date desc
                 
-                returns sequence of mapping objects by date desc
-		
-                keys of mapping objects:
-		  id          -> internal id for zodb
-		  user_name   -> name of user that last accessed the file
-		  time        -> date of last access
-		  description -> transaction description
-                """
+        keys of mapping objects:
+          id          -> internal id for zodb
+          user_name   -> name of user that last accessed the file
+          time        -> date of last access
+          description -> transaction description
+        """
+
 
+    def undoTransaction(id_list):
+        """
+        id_list will be a list of transaction ids.
+        iterate over each id in list, and undo
+        the transaction item.
+        """
 
-        def undoTransaction(id_list):
-		"""
-		id_list will be a list of transaction ids.
-		iterate over each id in list, and undo
-		the transaction item.
-		"""
-		


=== Zope3/lib/python/Zope/App/Undo/Undo.py 1.1.2.3 => 1.1.2.4 ===
 
     def getContext(self):
-	return self.context
+        return self.context
         
     index = PageTemplateFile('undo_log.pt')