You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/dir2module/dir2module/dir2module.py b/dir2module/dir2module/dir2module.py
index 6643a83..e639bba 100755
--- a/dir2module/dir2module/dir2module.py
+++ b/dir2module/dir2module/dir2module.py
@@ -113,8 +113,8 @@ class Module(ModuleBase):
for pkglicense in self.licenses:
mod_stream.add_content_license(pkglicense)
- for nevra in self.package_nevras:
- mod_stream.add_rpm_artifact(nevra)
+# for nevra in self.package_nevras:
+# mod_stream.add_rpm_artifact(nevra)
dependencies = Modulemd.Dependencies()
for depname, depstream in self.requires.items():
Apparently nevras is an empty list, so add_rpm_artifact dies.
I'm hacking yes, but if the list is null, I don't need the code right?
Can you provide a proper fix?
The text was updated successfully, but these errors were encountered:
Sure, the fix should be easy. But this never happened to me. Can you please point me to a package that has empty NEVRAs list? I would like to reproduce the issue somehow.
Here's the patch:
Apparently nevras is an empty list, so add_rpm_artifact dies.
I'm hacking yes, but if the list is null, I don't need the code right?
Can you provide a proper fix?
The text was updated successfully, but these errors were encountered: