python: Fix simple example.
authorJustus Winter <justus@gnupg.org>
Wed, 11 May 2016 11:51:40 +0000 (13:51 +0200)
committerJustus Winter <justus@gnupg.org>
Wed, 11 May 2016 11:51:40 +0000 (13:51 +0200)
commitbbeee5e1a060f2d1e37a08220eb552cf4673a058
treeb10fe9fe14c0ad186e971763c336fc76daefe12a
parenta29babd07cf9f9625d2b5aa2eb6b7bc9d1828359
python: Fix simple example.

* lang/python/examples/simple.py: Flush stdout, encode name as
UTF-8 before passing it to GPGME.

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