]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python:tests: Fix f-strings
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 25 May 2023 02:14:11 +0000 (14:14 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 29 May 2023 22:32:28 +0000 (22:32 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/source_chars.py

index e0acb38b8f70f408b5b1dc85298e352f5e29b2b1..3f306f12f9a52410c1e5410c87b937b0946d95f4 100644 (file)
@@ -311,9 +311,9 @@ def check_file_text():
         elif c[0] == 'C':
             others.append(x)
 
-    print("normal control characters {controls}")
-    print("format characters {formats}")
-    print("other control characters {others}")
+    print(f"normal control characters {controls}")
+    print(f"format characters {formats}")
+    print(f"other control characters {others}")
 
 
 if __name__ == '__main__':