Skip to content

Commit

Permalink
Fix typo in exception message
Browse files Browse the repository at this point in the history
Co-authored-by: Kian-Tat Lim <ktl@slac.stanford.edu>
  • Loading branch information
timj and ktlim committed Nov 18, 2021
1 parent 913d7c7 commit 5d0d234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/_butlerRepoIndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _get_index_uri(cls) -> ButlerURI:
"""
index_uri = os.environ.get(cls.index_env_var)
if index_uri is None:
raise KeyError(f"No repository index defined in enviroment variable {cls.index_env_var}")
raise KeyError(f"No repository index defined in environment variable {cls.index_env_var}")
return ButlerURI(index_uri)

@classmethod
Expand Down

0 comments on commit 5d0d234

Please sign in to comment.