From 09afe59b91644b4931dfe8ad22e634adbc29510e Mon Sep 17 00:00:00 2001 From: brent s Date: Tue, 7 Jul 2020 02:30:15 -0400 Subject: [PATCH] double curly braces where there should have been one. minor fix, but breaks otherwise. --- repomirror/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repomirror/sync.py b/repomirror/sync.py index 2cbe029..3e9b16b 100644 --- a/repomirror/sync.py +++ b/repomirror/sync.py @@ -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)