Fix KojiContentGenerator from a bug in PR 771

This commit is contained in:
mprahl
2017-11-09 14:29:22 -05:00
parent d1e80b8ad7
commit b0eada3e33
3 changed files with 6 additions and 4 deletions

View File

@@ -326,7 +326,7 @@ class KojiContentGenerator(object):
log_path = os.path.join(prepdir, "build.log")
try:
source = build_logs.path(self.module.id)
source = build_logs.path(self.module)
log.info("Moving logs from %r to %r" % (source, log_path))
shutil.copy(source, log_path)
except IOError as e: