#135 fix image path in list_archive_files
Merged 7 years ago by mikem. Opened 7 years ago by mikem.
https://github.com/mikem23/koji-playground.git fix-image-path  into  master

fix image path in list_archive_files
Mike McLean • 7 years ago  
hub/kojihub.py
file modified
+1 -1
@@ -3972,7 +3972,7 @@

          image_archive = get_image_archive(archive_info['id'], strict=True)

          archive_info.update(image_archive)

          file_path = os.path.join(koji.pathinfo.imagebuild(build_info),

-                                  koji.pathinfo.imagefile(archive_info))

+                                  archive_info['filename'])

      else:

          return _applyQueryOpts([], queryOpts)

  

no initial comment

This would have been caught by a static analyzer. Should we be running one on changes before they're merged?

Pull-Request has been merged by mikem

7 years ago

unfortunately, pylint gives a ton of false positives for parts of koji right now

Metadata