We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adb7e4c commit 4b457d0Copy full SHA for 4b457d0
bumpversion/show.py
@@ -14,7 +14,7 @@
14
def output_default(value: dict) -> None:
15
"""Output the value with key=value or just value if there is only one item."""
16
if len(value) == 1:
17
- print_info(list(value.values())[0])
+ print_info(next(iter(value.values())))
18
else:
19
buffer = StringIO()
20
pprint(value, stream=buffer) # noqa: T203
0 commit comments