We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f9518d commit 24cefe6Copy full SHA for 24cefe6
mock/py/mockbuild/buildroot.py
@@ -1030,8 +1030,8 @@ def wrap_host_file(self, filename):
1030
1031
basename = os.path.basename(filename)
1032
if basename in self._homedir_bindmounts:
1033
- raise BadCmdline("File '{0}' can not be bind-mounted to "
1034
- "bootstrap chroot twice".format(basename))
+ raise BadCmdline(f"File '{basename}' can not be bind-mounted to "
+ "bootstrap chroot twice")
1035
self._homedir_bindmounts[basename] = 1
1036
1037
host_filename = os.path.abspath(filename)
0 commit comments