double curly braces where there should have been one. minor fix, but breaks otherwise.

This commit is contained in:
brent s. 2020-07-07 02:30:15 -04:00
parent 845cd90ddf
commit 09afe59b91
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class Distro(object):
if sync:
td = datetime.datetime.utcnow() - sync
if td.days > constants.DAYS_WARN:
_logger.warning(('Upstream {0} has not synced for {1}} or more days; this '
_logger.warning(('Upstream {0} has not synced for {1} or more days; this '
'repository may be out of date.').format(u.fetcher.url, constants.DAYS_WARN))
warnings.warn('Upstream may be out of date')
return(None)