Commit f67208c1 authored by akwizgran's avatar akwizgran
Browse files

Avoid KeyError for older versions with implicit timestamps.

parent 0718bf28
Pipeline #4851 passed with stages
in 68 minutes and 34 seconds
......@@ -273,8 +273,8 @@ def pack(versions, file_list, android=False):
def reset_time(filename, versions):
timestamp = versions['timestamp']
if timestamp is None: timestamp = '197001010000.00'
if 'timestamp' in versions: timestamp = versions['timestamp']
else: timestamp = '197001010000.00'
check_call(['touch', '--no-dereference', '-t', timestamp, filename])
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