Commit eef5dc3d authored by Aurélien Dunand's avatar Aurélien Dunand Committed by Seblu

self.modules must be initialized as an empty dict

If not, global_dict.update(self.modules) raise an exception (TypeError:
NoneType) if lib dir is missing.
Signed-off-by: Seblu's avatarSébastien Luttringer <sebastien.luttringer@smartjog.com>
parent af952ba4
......@@ -273,7 +273,7 @@ class SourceImage(Image):
self.check_source_image()
self.description = self.parse_description()
self.changelog = self.parse_changelog()
self.modules = None
self.modules = {}
# script tarball path
self.image_name = u"%s-%s%s" % (self.description["name"],
self.description["version"],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment