Delete useless print

This commit is contained in:
Mingshen Sun 2019-07-16 23:36:25 -07:00
parent 584b634689
commit 7cf9311f95
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -72,7 +72,6 @@ public class PGPAgent {
// Try GopenpgpwrapperReadKey first. // Try GopenpgpwrapperReadKey first.
if let key = GopenpgpwrapperReadKey(pgpKeyData) { if let key = GopenpgpwrapperReadKey(pgpKeyData) {
print("GopenpgpwrapperReadKey \(keyType)")
switch keyType { switch keyType {
case .PUBLIC: case .PUBLIC:
self.publicKey = key self.publicKey = key
@ -87,7 +86,6 @@ public class PGPAgent {
// [ObjectivePGP.readKeys MAY CRASH!!!] // [ObjectivePGP.readKeys MAY CRASH!!!]
if let keys = try? ObjectivePGP.readKeys(from: pgpKeyData), if let keys = try? ObjectivePGP.readKeys(from: pgpKeyData),
let key = keys.first { let key = keys.first {
print("ObjectivePGP \(keyType)")
keyring.import(keys: keys) keyring.import(keys: keys)
switch keyType { switch keyType {
case .PUBLIC: case .PUBLIC: