Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | python: Fix reading data from existing files. | Justus Winter | 2016-05-27 | 1 | -1/+33 |
| | | | | | | | | | | | | | * lang/python/pyme/core.py (Data.__init__): Add 'copy' kwargument, and pass it to functions supporting it. PEP8 fix. (Data.new_from_fd): PEP8 fix. (Data.new_from_file): Give a more helpful error message if copy is False. PEP8 fix. (Data.new_from_fd): Hand the file descriptor to 'gpgme_data_new_from_fd', not a stream. Fix docstring. * lang/python/tests/t-data.py: Add tests for this. Signed-off-by: Justus Winter <[email protected]> | ||||
* | python: Fix writing to data buffers. | Justus Winter | 2016-05-12 | 1 | -0/+49 |
* lang/python/gpgme.i: Add typemap for buffers. * lang/python/pyme/core.py (Data.write): Fix function. * lang/python/tests/Makefile.am: Add new test. * lang/python/tests/t-data.py: New file. Signed-off-by: Justus Winter <[email protected]> |