diff --git a/tuf/client/updater.py b/tuf/client/updater.py index 4a7692ce..8b020905 100755 --- a/tuf/client/updater.py +++ b/tuf/client/updater.py @@ -1326,7 +1326,7 @@ def _ensure_not_expired(self, metadata_role): # convert it to seconds since the epoch, which is the time format # returned by time.time() (i.e., current time), before comparing. if tuf.formats.parse_time(expires) < time.time(): - message = 'Metadata '+repr(rolepath)+' expired on '+expires+' UTC.' + message = 'Metadata '+repr(rolepath)+' expired on '+repr(expires)+'.' raise tuf.ExpiredMetadataError(message)