diff options
author | Justus Winter <[email protected]> | 2016-09-14 09:39:00 +0000 |
---|---|---|
committer | Justus Winter <[email protected]> | 2016-09-14 10:15:57 +0000 |
commit | dc23fdf55561659f9e9cff51668ac9c6c027c885 (patch) | |
tree | 61aeb795d2b6fa92eadde043581340c7172f0ea8 /lang/python/pyme/constants/sig | |
parent | python: Use more generic shebang. (diff) | |
download | gpgme-dc23fdf55561659f9e9cff51668ac9c6c027c885.tar.gz gpgme-dc23fdf55561659f9e9cff51668ac9c6c027c885.zip |
python: Import from __future__ to align behavior of Python 2.7.
--
Signed-off-by: Justus Winter <[email protected]>
Diffstat (limited to 'lang/python/pyme/constants/sig')
-rw-r--r-- | lang/python/pyme/constants/sig/__init__.py | 3 | ||||
-rw-r--r-- | lang/python/pyme/constants/sig/mode.py | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lang/python/pyme/constants/sig/__init__.py b/lang/python/pyme/constants/sig/__init__.py index 8752bb28..2ce0edfd 100644 --- a/lang/python/pyme/constants/sig/__init__.py +++ b/lang/python/pyme/constants/sig/__init__.py @@ -1,3 +1,6 @@ +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + from . import mode __all__ = ['mode'] diff --git a/lang/python/pyme/constants/sig/mode.py b/lang/python/pyme/constants/sig/mode.py index 631bd7cb..fb534bc5 100644 --- a/lang/python/pyme/constants/sig/mode.py +++ b/lang/python/pyme/constants/sig/mode.py @@ -15,5 +15,8 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +from __future__ import absolute_import, print_function, unicode_literals +del absolute_import, print_function, unicode_literals + from pyme import util util.process_constants('GPGME_SIG_MODE_', globals()) |