We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 75e3391 + d466946 commit 7354789Copy full SHA for 7354789
winpython/register_python.py
@@ -23,4 +23,4 @@
23
if utils.is_python_distribution(args.target):
24
associate.register(args.target, current=not args.all)
25
else:
26
- raise WindowsError("Invalid Python distribution %s" % args.target)
+ raise WindowsError(f"Invalid Python distribution {args.target}")
winpython/unregister_python.py
associate.unregister(args.target, current=not args.all)
0 commit comments