From dc23fdf55561659f9e9cff51668ac9c6c027c885 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Wed, 14 Sep 2016 11:39:00 +0200 Subject: python: Import from __future__ to align behavior of Python 2.7. -- Signed-off-by: Justus Winter --- lang/python/examples/genkey.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/python/examples/genkey.py') diff --git a/lang/python/examples/genkey.py b/lang/python/examples/genkey.py index 972fed79..ee70303d 100755 --- a/lang/python/examples/genkey.py +++ b/lang/python/examples/genkey.py @@ -17,6 +17,9 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, see . +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + import pyme # This is the example from the GPGME manual. -- cgit v1.2.3