[Zope-Checkins] CVS: ZODB3/Tools - analyze.py:1.1.2.1 checkbtrees.py:1.1.2.1 fstest.py:1.6.4.1 netspace.py:1.1.14.1 parsezeolog.py:1.1.16.2 zeopack.py:1.6.2.3 zeoreplay.py:1.2.12.1 zeoup.py:1.6.2.3

Tim Peters tim.one at comcast.net
Wed Aug 27 16:23:47 EDT 2003


Update of /cvs-repository/ZODB3/Tools
In directory cvs.zope.org:/tmp/cvs-serv13220

Modified Files:
      Tag: ZODB3-3_1-branch
	analyze.py checkbtrees.py fstest.py netspace.py parsezeolog.py 
	zeopack.py zeoreplay.py zeoup.py 
Log Message:
Whitespace normalization.


=== ZODB3/Tools/analyze.py 1.1 => 1.1.2.1 ===
--- ZODB3/Tools/analyze.py:1.1	Mon Aug 26 14:29:58 2002
+++ ZODB3/Tools/analyze.py	Wed Aug 27 15:23:46 2003
@@ -137,4 +137,3 @@
 if __name__ == "__main__":
     path = sys.argv[1]
     report(analyze(path))
-    


=== ZODB3/Tools/checkbtrees.py 1.1 => 1.1.2.1 ===
--- ZODB3/Tools/checkbtrees.py:1.1	Thu Jun 20 18:49:50 2002
+++ ZODB3/Tools/checkbtrees.py	Wed Aug 27 15:23:46 2003
@@ -25,7 +25,7 @@
         attrs = ()
     for pair in attrs:
         sub.append(pair)
-        
+
     # what if it is a mapping?
     try:
         items = obj.items()


=== ZODB3/Tools/fstest.py 1.6 => 1.6.4.1 ===
--- ZODB3/Tools/fstest.py:1.6	Tue Sep 24 17:02:41 2002
+++ ZODB3/Tools/fstest.py	Wed Aug 27 15:23:46 2003
@@ -4,14 +4,14 @@
 #
 # Copyright (c) 2001, 2002 Zope Corporation and Contributors.
 # All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 
 """Simple consistency checker for FileStorage.
@@ -109,7 +109,7 @@
     It also leaves the file pointer set to pos.  The path argument is
     used for generating error messages.
     """
-    
+
     h = file.read(TREC_HDR_LEN)
     if not h:
         return None, None
@@ -131,7 +131,7 @@
         raise FormatError("%s truncated possibly because of"
                           " damaged records at %s" % (path, pos))
     if status == Status.checkpoint:
-        raise FormatError("%s checkpoint flag was not cleared at %s" 
+        raise FormatError("%s checkpoint flag was not cleared at %s"
                           % (path, pos))
     if status not in ' up':
         raise FormatError("%s has invalid status '%s' at %s" %


=== ZODB3/Tools/netspace.py 1.1 => 1.1.14.1 ===
--- ZODB3/Tools/netspace.py:1.1	Fri May  3 16:33:22 2002
+++ ZODB3/Tools/netspace.py	Wed Aug 27 15:23:46 2003
@@ -89,7 +89,7 @@
         keys = filter(paths.has_key, keys)
 
     fmt = "%8s %5d %8d %s %s.%s"
-    
+
     for oid in keys:
         data, serialno = fs.load(oid, '')
         mod, klass = get_pickle_metadata(data)


=== ZODB3/Tools/parsezeolog.py 1.1.16.1 => 1.1.16.2 ===
--- ZODB3/Tools/parsezeolog.py:1.1.16.1	Thu Dec 12 16:39:08 2002
+++ ZODB3/Tools/parsezeolog.py	Wed Aug 27 15:23:46 2003
@@ -52,7 +52,7 @@
     fields = ("time", "vote", "done", "user", "path")
     fmt = "%-24s %5s %5s %-15s %s"
     hdr = fmt % fields
-    
+
     def report(self):
         """Print a report about the transaction"""
         t = time.ctime(self.begin)
@@ -98,7 +98,7 @@
         except KeyError:
             print "uknown tid", repr(tid)
             return None
-        
+
     def tpc_finish(self, time, args):
         t = self.get_txn(args)
         if t is None:


=== ZODB3/Tools/zeopack.py 1.6.2.2 => 1.6.2.3 ===
--- ZODB3/Tools/zeopack.py:1.6.2.2	Tue Jan 28 16:19:50 2003
+++ ZODB3/Tools/zeopack.py	Wed Aug 27 15:23:46 2003
@@ -6,11 +6,11 @@
 Options:
 
     -p port -- port to connect to
-    
+
     -h host -- host to connect to (default is current host)
-    
+
     -U path -- Unix-domain socket to connect to
-    
+
     -S name -- storage name (default is '1')
 
     -d days -- pack objects more than days old


=== ZODB3/Tools/zeoreplay.py 1.2 => 1.2.12.1 ===
--- ZODB3/Tools/zeoreplay.py:1.2	Thu May  9 11:35:56 2002
+++ ZODB3/Tools/zeoreplay.py	Wed Aug 27 15:23:46 2003
@@ -186,7 +186,7 @@
         meth = getattr(txn, 'tpc_begin', None)
         if meth is not None:
             meth(when, args, client)
-        
+
     def storea(self, when, args, client):
         txn = self.__curtxn.get(client)
         if txn is None:
@@ -221,7 +221,7 @@
         print '%s %s %4d %10d %s %s' % (
             txn._begintime, txn._finishtime - txn._begintime,
             len(txn._objects),
-            bytes, 
+            bytes,
             time.ctime(txn._begintime),
             txn._url)
 
@@ -281,7 +281,7 @@
 
     if replay:
         storage = FileStorage(storagefile)
-	#storage = Full(storagefile)
+        #storage = Full(storagefile)
         #storage = PrimaryStorage('yyz', storage, RS_PORT)
     t0 = now()
     p = ZEOParser(maxtxns, report, storage)


=== ZODB3/Tools/zeoup.py 1.6.2.2 => 1.6.2.3 ===
--- ZODB3/Tools/zeoup.py:1.6.2.2	Fri Aug 15 15:59:42 2003
+++ ZODB3/Tools/zeoup.py	Wed Aug 27 15:23:46 2003
@@ -7,14 +7,14 @@
 attempt to update the zeoup counter in the root.  It will report
 success if it updates to counter or if it gets a ConflictError.  A
 ConflictError is considered a success, because the client was able to
-start a transaction. 
+start a transaction.
 
 Options:
 
     -p port -- port to connect to
-    
+
     -h host -- host to connect to (default is current host)
-    
+
     -U path -- Unix-domain socket to connect to
 
     --nowrite -- Do not update the zeoup counter.




More information about the Zope-Checkins mailing list