Update docstring for GPG._make_args().
parent
bd98bc9003
commit
88a187bb06
|
@ -298,11 +298,11 @@ class GPG(object):
|
||||||
raise RuntimeError("Error invoking gpg: %s: %s"
|
raise RuntimeError("Error invoking gpg: %s: %s"
|
||||||
% (proc.returncode, result.stderr))
|
% (proc.returncode, result.stderr))
|
||||||
|
|
||||||
def make_args(self, args, passphrase=False):
|
def _make_args(self, args, passphrase=False):
|
||||||
"""
|
"""Make a list of command line elements for GPG. The value of ``args``
|
||||||
Make a list of command line elements for GPG. The value of ``args``
|
will be appended only if it passes the checks in
|
||||||
will be appended. The ``passphrase`` argument needs to be True if
|
:func:parsers._sanitise. The ``passphrase`` argument needs to be True
|
||||||
a passphrase will be sent to GPG, else False.
|
if a passphrase will be sent to GPG, else False.
|
||||||
"""
|
"""
|
||||||
cmd = [self.gpgbinary, '--status-fd 2 --no-tty']
|
cmd = [self.gpgbinary, '--status-fd 2 --no-tty']
|
||||||
if self.gpghome:
|
if self.gpghome:
|
||||||
|
|
Loading…
Reference in New Issue