Commit 41713b26 authored by Christian Robottom's avatar Christian Robottom

Fix PackCopier.pack() to use 1 instead of True. Makes Python2.1 clients

happy again.
parent 9ff4de4c
...@@ -690,7 +690,7 @@ class FileStoragePacker(FileStorageFormatter): ...@@ -690,7 +690,7 @@ class FileStoragePacker(FileStorageFormatter):
os.remove(self._name + ".pack") os.remove(self._name + ".pack")
return None return None
self._commit_lock_acquire() self._commit_lock_acquire()
self.locked = True self.locked = 1
self._lock_acquire() self._lock_acquire()
try: try:
self._file.seek(0, 2) self._file.seek(0, 2)
......
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