From 88a187bb0676c324d537c8a2dc2e9b4f1b70cf20 Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Mon, 15 Apr 2013 00:51:23 +0000 Subject: [PATCH] Update docstring for GPG._make_args(). --- gnupg/gnupg.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gnupg/gnupg.py b/gnupg/gnupg.py index 21bc8df..67fa337 100644 --- a/gnupg/gnupg.py +++ b/gnupg/gnupg.py @@ -298,11 +298,11 @@ class GPG(object): raise RuntimeError("Error invoking gpg: %s: %s" % (proc.returncode, result.stderr)) - def make_args(self, args, passphrase=False): - """ - Make a list of command line elements for GPG. The value of ``args`` - will be appended. The ``passphrase`` argument needs to be True if - a passphrase will be sent to GPG, else False. + def _make_args(self, args, passphrase=False): + """Make a list of command line elements for GPG. The value of ``args`` + will be appended only if it passes the checks in + :func:parsers._sanitise. The ``passphrase`` argument needs to be True + if a passphrase will be sent to GPG, else False. """ cmd = [self.gpgbinary, '--status-fd 2 --no-tty'] if self.gpghome: