summaryrefslogtreecommitdiffstats
path: root/debian/lib/python/debian_linux
diff options
context:
space:
mode:
Diffstat (limited to 'debian/lib/python/debian_linux')
-rw-r--r--debian/lib/python/debian_linux/debian.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/lib/python/debian_linux/debian.py b/debian/lib/python/debian_linux/debian.py
index 78c5cdec7b..4a37b62a66 100644
--- a/debian/lib/python/debian_linux/debian.py
+++ b/debian/lib/python/debian_linux/debian.py
@@ -562,7 +562,7 @@ class _ControlFileDict(collections.abc.MutableMapping):
value = cls(value)
except KeyError:
warnings.warn(
- f'setting unknown field { key } in { type(self).__name__ }',
+ f'setting unknown field {key} in {type(self).__name__}',
stacklevel=2)
self.__data[key] = value
@@ -589,7 +589,7 @@ class _ControlFileDict(collections.abc.MutableMapping):
ret = self[key] = self._fields[key]()
except KeyError:
warnings.warn(
- f'setting unknown field { key } in { type(self).__name__ }',
+ f'setting unknown field {key} in {type(self).__name__}',
stacklevel=2)
ret = self[key] = ''
return ret