in pyme.core.Data fail new_from_fd function
Status: Beta
Brought to you by:
belyi
From ubuntu launchpad: https://bugs.launchpad.net/ubuntu/+source/pyme/+bug/674009
fd=open('some_file.asc', 'w+')
cipher = core.Data(file=fd)
Error:
File "gpg.py", line 9, in <module>
cipher = core.Data(file=fd)
File "/usr/lib/python2.6/dist-packages/pyme/core.py", line 291, in __init__
self.new_from_fd(file)
File "/usr/lib/python2.6/dist-packages/pyme/core.py", line 370, in new_from_fd
errorcheck(gpgme_data_new_from_fd(tmp, fd))
NameError: global name 'gpgme_data_new_from_fd' is not defined
See the launchpad page for more info and a proposed patch from Marcos Riosaildo.