Update docstring for GPG._make_args().

feature/documentation-builds-html
Isis Lovecruft 2013-04-15 00:51:23 +00:00
parent bd98bc9003
commit 88a187bb06
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 5 additions and 5 deletions

View File

@ -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: