Commit b81bf3f5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 4f53d246
...@@ -42,6 +42,7 @@ def zodbpack(stor, packat, gc): ...@@ -42,6 +42,7 @@ def zodbpack(stor, packat, gc):
# the conversion is not exact due to potential rounding. # the conversion is not exact due to potential rounding.
# we are ok to go a bit before, but not after - so that if packat specifies # we are ok to go a bit before, but not after - so that if packat specifies
# transaction exactly, this transaction is not pruned and stays in [packat range. # transaction exactly, this transaction is not pruned and stays in [packat range.
# FIXME pack(packtime) prunes transaction specified by packtime, so maybe it should be (packat not to prune
t = TimeStamp(packat).timeTime() t = TimeStamp(packat).timeTime()
while 1: while 1:
packat_ = TimeStamp(*time.gmtime(t)[:5]+(t%60,)).raw() packat_ = TimeStamp(*time.gmtime(t)[:5]+(t%60,)).raw()
......
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