Set parameter args in gnupg.GPG.make_args() to None by default.

feature/documentation-builds-dirhtml
Isis Lovecruft 2013-03-14 12:41:43 +00:00 committed by Isis Lovecruft
parent 45cb40c8b1
commit 601dbb0dd0
1 changed files with 1 additions and 1 deletions

View File

@ -1146,7 +1146,7 @@ class GPG(object):
cmd.extend(_hyphenate(value))
return cmd
def _open_subprocess(self, args, passphrase=False):
def _open_subprocess(self, args=None, passphrase=False):
# Internal method: open a pipe to a GPG subprocess and return
# the file objects for communicating with it.
cmd = ' '.join(self.make_args(args, passphrase))