Commit 31b1e47c authored by Barry Warsaw's avatar Barry Warsaw

Pychecker fixes

parent d5ce0a93
......@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__ = '$Revision: 1.18 $'[-2:][0]
__version__ = '$Revision: 1.19 $'[-2:][0]
import time
import threading
......@@ -465,7 +465,6 @@ class Minimal(BerkeleyBase, ConflictResolvingStorage):
if self._stop:
raise PackStop, 'stopped in _collect_objs()'
oid = orec[1]
serial = self._getCurrentSerial(oid)
# Delete the object from the serials table
c = self._serials.cursor(txn)
try:
......
......@@ -14,7 +14,7 @@
"""Base class for BerkeleyStorage implementations.
"""
__version__ = '$Revision: 1.26 $'.split()[-2:][0]
__version__ = '$Revision: 1.27 $'.split()[-2:][0]
import os
import time
......@@ -462,7 +462,7 @@ class _WorkThread(threading.Thread):
def stop(self):
self._stop = True
def _dowork(self):
def _dowork(self, now):
pass
......
......@@ -15,7 +15,7 @@
"""Berkeley storage without undo or versioning.
"""
__version__ = '$Revision: 1.18 $'[-2:][0]
__version__ = '$Revision: 1.19 $'[-2:][0]
import time
import threading
......@@ -465,7 +465,6 @@ class Minimal(BerkeleyBase, ConflictResolvingStorage):
if self._stop:
raise PackStop, 'stopped in _collect_objs()'
oid = orec[1]
serial = self._getCurrentSerial(oid)
# Delete the object from the serials table
c = self._serials.cursor(txn)
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment