summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrent s <bts@square-r00t.net>2020-06-24 01:01:58 -0400
committerbrent s <bts@square-r00t.net>2020-06-24 01:01:58 -0400
commitc8bf61ea9831347eaab8c524d80fe68ca4b97beb (patch)
tree6daa8e58b2238324247b038359734e63859a48a3
parent0e16214e4533a6a47a2745a9db7acee8b7a73d3e (diff)
downloadRepoMirror-c8bf61ea9831347eaab8c524d80fe68ca4b97beb.tar.xz
whoops
-rw-r--r--repomirror/sync.py2
1 files changed, 1 insertions, 1 deletions
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'):