diff --git a/bob/devtools/scripts/mirror.py b/bob/devtools/scripts/mirror.py index 14884bb561640d612100c30a14be8afbcb38c3a6..8b616c5576a42bfa1919abbb133d63dd0c98fd7d 100644 --- a/bob/devtools/scripts/mirror.py +++ b/bob/devtools/scripts/mirror.py @@ -221,6 +221,12 @@ def mirror( if start_date is not None: too_old = set() for k in to_download: + if "timestamp" not in remote_package_info[k]: + logger.debug( + "Package %s does not contain a timestamp (ignoring)...", + k, + ) + continue pkgdate = datetime.datetime.fromtimestamp( remote_package_info[k]["timestamp"] / 1000.0 ).date()