From 8f699e658f26f07c6021a1d4cd6528356a930b8d Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 5 Jul 2026 11:16:49 +0100 Subject: [PATCH] Fix typos flagged by Lintian I: python3-varlink: typo-in-manual-page "allows to" "allows one to" [usr/share/man/man1/varlink.1.gz:252] I: python3-varlink: typo-in-manual-page "allows to" "allows one to" [usr/share/man/man1/varlink.1.gz:604] --- README.md | 4 ++-- varlink/client.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 042bccb..b3b015f 100644 --- a/README.md +++ b/README.md @@ -189,8 +189,8 @@ Listening on @00352 ### Bridge Mode -Bridge mode allows to tunnel to a remote point via stdin/stdout and call a method. -Running ```varlink bridge``` allows to connect stdio to the host services via ```org.varlink.resolver``` interface resolving. +Bridge mode allows one to tunnel to a remote point via stdin/stdout and call a method. +Running ```varlink bridge``` allows one to connect stdio to the host services via ```org.varlink.resolver``` interface resolving. ```bash # python3 -m varlink.cli -b "ssh host.example.org varlink bridge" call com.redhat.machine.GetInfo '{}' diff --git a/varlink/client.py b/varlink/client.py index fe22695..b275118 100644 --- a/varlink/client.py +++ b/varlink/client.py @@ -21,7 +21,7 @@ class ClientInterfaceHandler: def __init__(self, interface, namespaced=False): """Base class for varlink client, which wraps varlink methods of an interface. - The object allows to talk to a varlink service, which implements the specified interface + The object allows one to talk to a varlink service, which implements the specified interface transparently by calling the methods. The call blocks until enough messages are received. For monitor calls with '_more=True' a generator object is returned. @@ -161,7 +161,7 @@ class SimpleClientInterfaceHandler(ClientInterfaceHandler): def __init__(self, interface, file_or_socket, namespaced=False): """Creates an object with the varlink methods of an interface installed. - The object allows to talk to a varlink service, which implements the specified interface + The object allows one to talk to a varlink service, which implements the specified interface transparently by calling the methods. The call blocks until enough messages are received. For monitor calls with '_more=True' a generator object is returned.