Fix a bug in the tag backfill that prevented copying lifetime_start_ts when it is zero
This commit is contained in:
parent
a4cd7fbc0d
commit
4e9949f69d
1 changed files with 2 additions and 2 deletions
|
@ -181,9 +181,9 @@ def backfill_tag(repositorytag):
|
|||
return False
|
||||
|
||||
lifetime_start_ms = (repositorytag.lifetime_start_ts * 1000
|
||||
if repositorytag.lifetime_start_ts else None)
|
||||
if repositorytag.lifetime_start_ts is not None else None)
|
||||
lifetime_end_ms = (repositorytag.lifetime_end_ts * 1000
|
||||
if repositorytag.lifetime_end_ts else None)
|
||||
if repositorytag.lifetime_end_ts is not None else None)
|
||||
|
||||
# Create the new Tag.
|
||||
with db_transaction():
|
||||
|
|
Reference in a new issue