When artifacts are already there, add them to the artifact list
@@ -338,6 +338,8 @@ class Generator(object):
if algorithms:
for algorithm in algorithms:
self.check_sum(filename, source[algorithm], algorithm)
+
+ if algorithms:
self.cfg['artifacts'][target] = "%s:%s" % (algorithms[0], source[algorithms[0]])
else:
self.cfg['artifacts'][target] = None
