diff options
author | Justus Winter <[email protected]> | 2016-05-12 10:54:15 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-05-12 10:59:05 +0000 |
commit | e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920 (patch) | |
tree | 27ee488c41be569738dcb9ca337121efe6f526fd /lang/python/pyme/core.py | |
parent | python: Fix name of exception, make slot methods explicit. (diff) | |
download | gpgme-e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920.tar.gz gpgme-e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920.zip |
python: Fix function invocation.
* lang/python/pyme/core.py (Data.new_from_fd): Fix function
invocation.
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/pyme/core.py')
-rw-r--r-- | lang/python/pyme/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python/pyme/core.py b/lang/python/pyme/core.py index 2a37ba35..e822704a 100644 --- a/lang/python/pyme/core.py +++ b/lang/python/pyme/core.py @@ -380,7 +380,7 @@ class Data(GpgmeWrapper): if fp == None: raise ValueError("Failed to open file from %s arg %s" % \ (str(type(file)), str(file))) - errorcheck(gpgme_data_new_from_fd(tmp, fp)) + errorcheck(pygpgme.gpgme_data_new_from_fd(tmp, fp)) self.wrapped = pygpgme.gpgme_data_t_p_value(tmp) pygpgme.delete_gpgme_data_t_p(tmp) |