python: Fix function invocation.
* lang/python/pyme/core.py (Data.new_from_fd): Fix function invocation. Signed-off-by: Justus Winter <justus@gnupg.org>
This commit is contained in:
parent
af9371eb63
commit
e3d3d366bd
@ -380,7 +380,7 @@ class Data(GpgmeWrapper):
|
|||||||
if fp == None:
|
if fp == None:
|
||||||
raise ValueError("Failed to open file from %s arg %s" % \
|
raise ValueError("Failed to open file from %s arg %s" % \
|
||||||
(str(type(file)), str(file)))
|
(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)
|
self.wrapped = pygpgme.gpgme_data_t_p_value(tmp)
|
||||||
pygpgme.delete_gpgme_data_t_p(tmp)
|
pygpgme.delete_gpgme_data_t_p(tmp)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user