1. 03 May, 2004 6 commits
    • Scott Pascoe's avatar
      Spring Cleaning, Add ZPL and module comment · 0c1fb440
      Scott Pascoe authored
      0c1fb440
    • Tim Peters's avatar
      Collector #1307: fsrecover.py broken on HEAD. · ce0f4027
      Tim Peters authored
      fsrecover.py:  the call to restore() was still using .serial, which no
      longer exists.  Changed to use .tid.
      
      testRecover.py:  the tests here passed despite that fsrecover wasn't
      working at all.  Changed RecoverTest.recover() to eliminate its unused
      arguments, and to return all the output fsrecover.recover() produces (the
      output was being thrown away, unlooked at).  Added new testNoDamage(),
      which feeds recovery a healthy .fs, and then looks at the output of
      recovery, to verify that no errors were reported and no bytes were
      removed by recovery.  Changed all the other tests to stop passing unused
      arguments to RecoverTest.recover(), and to verify that error output was
      produced by recovery.
      
      XXX I'm not sure that every call to RecoverTest.recover() will actually
      XXX produce an error in fsrecover.recover(), so we may get some spurious
      XXX test failures here.  I'll keep my open for those.  (The kinds of
      XXX damage tested are randomized, so one run doesn't prove anything.)
      ce0f4027
    • Tim Peters's avatar
      recover(): Changed 'force' and 'partial' arguments to bools. Changed · faf36ce6
      Tim Peters authored
      'pack' default value from 0 to None (this looks like the clear intent
      of the code).
      
      Note that fsrecover.py is totally broken, but testRecover.py isn't
      detecting it.  I'm working on repairing both.
      faf36ce6
    • Tim Peters's avatar
      Separated Python imports from ZODB imports; put all global imports before · 1791060f
      Tim Peters authored
      the first function defn.
      1791060f
    • Tim Peters's avatar
      die() and call sites: Simplified. In case of getopt error, the code · 8a332bfa
      Tim Peters authored
      tried to print the module docstring, but in an unreachable line.  In
      case of more than 2 positional args, the code died with a mysterious
      "unpack tuple of wrong size" exception; check for the correct # of args
      directly instead.  Print all error msgs to stderr instead of stdout.
      8a332bfa
    • Tim Peters's avatar
      Module docstring: put all the options in the summary line; repair · cf69728b
      Tim Peters authored
      grammar and spelling.
      cf69728b
  2. 01 May, 2004 1 commit
  3. 30 Apr, 2004 1 commit
  4. 29 Apr, 2004 2 commits
  5. 27 Apr, 2004 2 commits
  6. 25 Apr, 2004 2 commits
  7. 24 Apr, 2004 2 commits
  8. 23 Apr, 2004 4 commits
  9. 22 Apr, 2004 4 commits
  10. 20 Apr, 2004 1 commit
  11. 19 Apr, 2004 5 commits
  12. 17 Apr, 2004 4 commits
  13. 16 Apr, 2004 6 commits