python: Fix function invocation.
authorJustus Winter <justus@gnupg.org>
Thu, 12 May 2016 10:54:15 +0000 (12:54 +0200)
committerJustus Winter <justus@gnupg.org>
Thu, 12 May 2016 10:59:05 +0000 (12:59 +0200)
* lang/python/pyme/core.py (Data.new_from_fd): Fix function
invocation.

Signed-off-by: Justus Winter <justus@gnupg.org>
lang/python/pyme/core.py

index 2a37ba3..e822704 100644 (file)
@@ -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)