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

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: default avatarSébastien Luttringer <sebastien.luttringer@smartjog.com>
parent af952ba4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"],