Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
a13739c2
Commit
a13739c2
authored
Apr 24, 2020
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resilience: The value (timestamp) must be a float to be converted
parent
288a9faf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
stack/resilient/buildout.hash.cfg
stack/resilient/buildout.hash.cfg
+1
-1
stack/resilient/resilient-web-takeover-cgi-script.py.in
stack/resilient/resilient-web-takeover-cgi-script.py.in
+1
-1
No files found.
stack/resilient/buildout.hash.cfg
View file @
a13739c2
...
@@ -46,7 +46,7 @@ md5sum = d21472f0e58f928fb827f2cbf22c4d4a
...
@@ -46,7 +46,7 @@ md5sum = d21472f0e58f928fb827f2cbf22c4d4a
[resilient-web-takeover-cgi-script-download]
[resilient-web-takeover-cgi-script-download]
filename = resilient-web-takeover-cgi-script.py.in
filename = resilient-web-takeover-cgi-script.py.in
md5sum =
7a0f1be7e9d05d0c68748322abe1f51
1
md5sum =
4137b7ac6b20a6cd897ad58f51a763b
1
[template-wrapper]
[template-wrapper]
filename = templates/wrapper.in
filename = templates/wrapper.in
...
...
stack/resilient/resilient-web-takeover-cgi-script.py.in
View file @
a13739c2
...
@@ -48,7 +48,7 @@ def getLatestBackupDate():
...
@@ -48,7 +48,7 @@ def getLatestBackupDate():
if not db_keys:
if not db_keys:
result = False
result = False
else:
else:
last_backup =
db[db_keys[0]]
last_backup =
float(db[db_keys[0]])
for callback in db_keys:
for callback in db_keys:
timestamp = float(db[callback])
timestamp = float(db[callback])
if timestamp > last_backup:
if timestamp > last_backup:
...
...
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