summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-08-08 11:36:00 -0300
committerTomás Touceda <chiiph@leap.se>2013-08-08 11:36:00 -0300
commit18620efca24a438f28f8aaaec2f1a292f5390c4b (patch)
tree54095e9d4abedf07e191f7e3a0c7bb15a3c9ceca
parentf2eeb227d272f00d7d96f14b1f178656112f3292 (diff)
Remove options from the constructor call for gnupg.GPG
-rw-r--r--changes/bug_supported_options2
-rw-r--r--src/leap/keymanager/gpg.py3
2 files changed, 4 insertions, 1 deletions
diff --git a/changes/bug_supported_options b/changes/bug_supported_options
new file mode 100644
index 00000000..e7a70d38
--- /dev/null
+++ b/changes/bug_supported_options
@@ -0,0 +1,2 @@
+ o Options parameter in gnupg.GPG isn't supported by all versions, so
+ removing it for the time being. \ No newline at end of file
diff --git a/src/leap/keymanager/gpg.py b/src/leap/keymanager/gpg.py
index 15c1d9f6..b81b218f 100644
--- a/src/leap/keymanager/gpg.py
+++ b/src/leap/keymanager/gpg.py
@@ -110,9 +110,10 @@ class GPGWrapper(gnupg.GPG):
@raise: RuntimeError with explanation message if there is a problem
invoking gpg.
"""
+ # XXX: options isn't always supported, so removing for the time being
gnupg.GPG.__init__(self, gnupghome=gnupghome, gpgbinary=gpgbinary,
verbose=verbose, use_agent=use_agent,
- keyring=keyring, options=options)
+ keyring=keyring)#, options=options)
self.result_map['list-packets'] = ListPackets
def find_key_by_email(self, email, secret=False):