Commit 2e9b9e79 authored by Christian Robottom's avatar Christian Robottom

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

happy again.
parent dc49f775
...@@ -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