Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Item.make_asset_hrefs_relative, leave relative hrefs alone. #229

Merged
merged 1 commit into from
Oct 30, 2020

Conversation

lossyrob
Copy link
Member

This fixes a bug where make_asset_hrefs_relative was modifying already relative paths, which set the HREFs to invalid locations.

This fixes a bug where make_asset_hrefs_relative was modifying already
relative paths, which set the HREFs to invalid locations.
@codecov-io
Copy link

codecov-io commented Oct 30, 2020

Codecov Report

Merging #229 into develop will increase coverage by 0.23%.
The diff coverage is 87.50%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #229       /-   ##
===========================================
  Coverage    93.21%   93.44%    0.23%     
===========================================
  Files           29       29              
  Lines         3582     3586        4     
===========================================
  Hits          3339     3351       12     
  Misses         243      235       -8     
Impacted Files Coverage Δ
pystac/item.py 97.68% <87.50%> ( 1.32%) ⬆️
pystac/catalog.py 95.84% <0.00%> ( 0.89%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a413d3...12e872d. Read the comment docs.

@lossyrob lossyrob merged commit 6928034 into develop Oct 30, 2020
@lossyrob lossyrob deleted the fix/item-asset-relative-hrefs branch October 30, 2020 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants