[yast/yast-packager] 9da4e6: Do not crash trying to read a not knwon file
5 Jul
2021
5 Jul
'21
15:45
Branch: refs/heads/fix-repomd-downloader Home: https://github.com/yast/yast-packager Commit: 9da4e69c47e7d2f21b02fc27d7d84966366bd54c https://github.com/yast/yast-packager/commit/9da4e69c47e7d2f21b02fc27d7d8496... Author: David Díaz González <dgonzalez@suse.de> Date: 2021-07-05 (Mon, 05 Jul 2021) Changed paths: M src/lib/y2packager/repomd_downloader.rb Log Message: ----------- Do not crash trying to read a not knwon file File.read raises a `TypeError` exception when `nil` is given. So, RepomdDownloader#primary_xmls should ignore repos for which Yast::Pkg.SourceProvideFile returns `nil`.
1271
Age (days ago)
1271
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Díaz