modules [no]*: use f-strings (#10973)

* modules [no]*: use f-strings

* add changelog frag
This commit is contained in:
Alexei Znamensky
2025-10-26 19:48:10 +13:00
committed by GitHub
parent 50846b7560
commit 749c06cd01
44 changed files with 399 additions and 412 deletions

View File

@@ -137,11 +137,11 @@ class NicTag(object):
if self.mtu:
cmd.append('-p')
cmd.append('mtu=' + str(self.mtu))
cmd.append(f"mtu={self.mtu}")
if self.mac:
cmd.append('-p')
cmd.append('mac=' + str(self.mac))
cmd.append(f"mac={self.mac}")
cmd.append(self.name)