Bugfix: BundlePackage staging/installation (#13524)

4af4487 added a mirror_id function to most FetchStrategy
implementations that is used to calculate resource locations in
mirrors. It left out BundleFetchStrategy which broke all packages
making use of BundlePackage (e.g. xsdk). This adds a noop
implementation of mirror_id to BundleFetchStrategy so that the
download/installation of BundlePackages can proceed as normal.
This commit is contained in:
Peter Scheibel
2019-10-31 12:56:38 -07:00
committed by GitHub
parent 4b56933643
commit 6ec39b6c81

View File

@@ -225,6 +225,9 @@ def source_id(self):
"""BundlePackages don't have a source id."""
return ''
def mirror_id(self):
"""BundlePackages don't have a mirror id."""
@pattern.composite(interface=FetchStrategy)
class FetchStrategyComposite(object):