Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
briar
tor-reproducer
Commits
f67208c1
Commit
f67208c1
authored
Sep 23, 2020
by
akwizgran
Browse files
Avoid KeyError for older versions with implicit timestamps.
parent
0718bf28
Pipeline
#4851
passed with stages
in 68 minutes and 34 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build-tor.py
View file @
f67208c1
...
...
@@ -273,8 +273,8 @@ def pack(versions, file_list, android=False):
def
reset_time
(
filename
,
versions
):
timestamp
=
versions
[
'timestamp'
]
if
timestamp
is
Non
e
:
timestamp
=
'197001010000.00'
if
'timestamp'
in
versions
:
timestamp
=
versions
[
'timestamp'
]
els
e
:
timestamp
=
'197001010000.00'
check_call
([
'touch'
,
'--no-dereference'
,
'-t'
,
timestamp
,
filename
])
...
...
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