Skip to content

Commit

Permalink
Fix location determination when recording provenance for the MAP Client.
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorby committed May 16, 2024
1 parent 3cc19d2 commit 1165346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapclient/core/provenance.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def _strip_pip_list_output(output_stream):
describe_result = describe_tag(parts[2])
describe_parts = describe_result.split('-')
if len(describe_parts) == 1 and describe_parts[0]:
location = remote_locations(parts[2])
location = remote_locations(os.path.dirname(parts[2]))
else:
location = f'local-repo-{describe_result}'

Expand Down

0 comments on commit 1165346

Please sign in to comment.