commit d7ca5af7415e19445d4f262fac6e8c105b0c25a3
parent c3480c5e80895b19bc83463da46878450ca650c6
Author: Jan Pobříslo <ccx@te2000.cz>
Date: Thu, 22 Feb 2024 07:00:00 +0100
Do not use | in annotations
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/userns_sandbox.py b/userns_sandbox.py
@@ -108,8 +108,8 @@ def mount(
source: str,
target: str,
fstype: str,
- flags: int | MountFlag = 0,
- data: str | None = None,
+ flags: int = 0,
+ data: str = None,
):
"""Mount filesystem.
@@ -384,4 +384,4 @@ if __name__ == '__main__':
main(args)
# pylama:linters=pycodestyle,pyflakes:ignore=D212,D203,D100,D101,D102,D107
-# vim: sts=4 ts=4 sw=4 et tw=88 efm=%A%f\:%l%\:%c\ %t%n\ %m
+# vim: sts=4 ts=4 sw=4 et tw=88 efm=%A%f\:%l\:%c\ %t%n\ %m