Remove extra output handing logic in GPG.encrypt_file().

feature/documentation-builds-html
Isis Lovecruft 2013-04-15 01:13:47 +00:00
parent f357c16a21
commit b09adb3f19
No known key found for this signature in database
GPG Key ID: A3ADB67A2CDB8B35
1 changed files with 0 additions and 4 deletions

View File

@ -829,10 +829,6 @@ class GPG(object):
args.append('--recipient "%s"' % recipient)
if armor:
args.append('--armor')
if output: # write the output to a file with the specified name
if os.path.exists(output):
os.remove(output) # to avoid overwrite confirmation message
args.append('--output "%s"' % output)
if sign:
args.append('--sign --default-key "%s"' % sign)
if always_trust: