Commit eef5dc3d authored by Aurélien Dunand's avatar Aurélien Dunand Committed by Sébastien Luttringer

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 <>
parent af952ba4
......@@ -273,7 +273,7 @@ class SourceImage(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"],
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment