From c8bf61ea9831347eaab8c524d80fe68ca4b97beb Mon Sep 17 00:00:00 2001 From: brent s Date: Wed, 24 Jun 2020 01:01:58 -0400 Subject: [PATCH] whoops --- repomirror/sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repomirror/sync.py b/repomirror/sync.py index 0f83196..e45c392 100644 --- a/repomirror/sync.py +++ b/repomirror/sync.py @@ -341,7 +341,7 @@ class Sync(object): e = e[0] logger.filehandler.close() logger.filehandler.baseFilename = os.path.join(self.logdir, '{0}.log'.format(e.attrib['name'])) - distro = Distro(e[0]) + distro = Distro(e) distro.sync() else: for e in self.cfg.xml.findall('distro'):