Skip to content

Commit

Permalink
Fix stringification of Butler warning
Browse files Browse the repository at this point in the history
Use self._datastore not self.datastore
  • Loading branch information
timj committed Jul 12, 2023
1 parent a305ef3 commit ce6e9c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/daf/butler/_butler.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def __reduce__(self) -> tuple:

def __str__(self) -> str:
return "Butler(collections={}, run={}, datastore='{}', registry='{}')".format(
self.collections, self.run, self.datastore, self._registry
self.collections, self.run, self._datastore, self._registry
)

def isWriteable(self) -> bool:
Expand Down

0 comments on commit ce6e9c9

Please sign in to comment.