From e3d3d366bd1a1aea8a38ae5dcbf71ea3c784e920 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Thu, 12 May 2016 12:54:15 +0200 Subject: [PATCH] python: Fix function invocation. * lang/python/pyme/core.py (Data.new_from_fd): Fix function invocation. Signed-off-by: Justus Winter --- lang/python/pyme/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)