Remove duplicate log statement of the GnuPG command we're running.

feature/documentation-builds-html
Isis Lovecruft 2013-04-10 18:00:00 +00:00
parent 525ebf71ef
commit b8ce529638
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 3 additions and 1 deletions

View File

@ -1215,7 +1215,9 @@ class GPG(object):
[cmd.append(opt) for opt in iter(_sanitise_list(self.options))]
if args:
[cmd.append(arg) for arg in iter(_sanitise_list(args))]
logger.debug("make_args(): Using command: %s" % cmd)
## so that we don't print it twice, here and in _open_subprocess():
if not self.verbose:
logger.debug("make_args(): Using command: %s" % cmd)
return cmd
def _open_subprocess(self, args=None, passphrase=False):