Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary variable expansion.
Browse files Browse the repository at this point in the history
TallJimbo committed Jul 12, 2022
1 parent 795bc84 commit cf72ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/base/pipelineIR.py
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ def standardize_uri_in_pipeline(path: str, directory: Optional[ResourcePath]) ->
RuntimeError
Raised if ``path`` is relative but ``directory`` is `None`.
"""
uri = ResourcePath(os.path.expandvars(path), forceAbsolute=False)
uri = ResourcePath(path, forceAbsolute=False)
if not uri.isabs():
if directory is not None:
uri = directory.join(uri)

0 comments on commit cf72ce6

Please sign in to comment.