Skip to content

Commit

Permalink
Merge pull request #6321 from socram8888/fix-shell-repr
Browse files Browse the repository at this point in the history
Fix repr(Shell)
  • Loading branch information
oz123 authored Dec 30, 2024
2 parents d796a52 + 23fa645 commit 5bd54bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions news/6321.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix repr(Shell)
2 changes: 1 addition & 1 deletion pipenv/shells.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self, cmd):
self.args = []

def __repr__(self):
return "{type(self).__name__}(cmd={self.cmd!r})"
return f"{type(self).__name__}(cmd={repr(self.cmd)}, args={repr(self.args)})"

@contextlib.contextmanager
def inject_path(self, venv):
Expand Down

0 comments on commit 5bd54bd

Please sign in to comment.