Set parameter args in gnupg.GPG.make_args() to None by default.
parent
45cb40c8b1
commit
601dbb0dd0
2
gnupg.py
2
gnupg.py
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue