Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zodbtools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
zodbtools
Commits
b81bf3f5
Commit
b81bf3f5
authored
Jul 24, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4f53d246
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
zodbtools/zodbpack.py
zodbtools/zodbpack.py
+1
-0
No files found.
zodbtools/zodbpack.py
View file @
b81bf3f5
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment