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/encrypt-to-all.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/python/examples/encrypt-to-all.py') diff --git a/lang/python/examples/encrypt-to-all.py b/lang/python/examples/encrypt-to-all.py index 304b4747..bb8225b0 100755 --- a/lang/python/examples/encrypt-to-all.py +++ b/lang/python/examples/encrypt-to-all.py @@ -22,6 +22,9 @@ This program will try to encrypt a simple message to each key on your keyring. If your keyring has any invalid keys on it, those keys will be skipped and it will re-try the encryption.""" +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + import sys import os import pyme -- cgit