From 6bffee83fe37f9f89493d2076169137f090b6889 Mon Sep 17 00:00:00 2001 From: thorade Date: Wed, 1 Nov 2017 10:41:27 +0100 Subject: [PATCH] identical from __future__ import in ALL py files --- src/ifcopenshell-python/ifcopenshell/__init__.py | 2 ++ src/ifcopenshell-python/ifcopenshell/entity_instance.py | 3 +++ src/ifcopenshell-python/ifcopenshell/file.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/geom/__init__.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/geom/app.py | 2 ++ src/ifcopenshell-python/ifcopenshell/geom/code_editor_pane.py | 2 ++ src/ifcopenshell-python/ifcopenshell/geom/main.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/guid.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/main.py | 4 ++++ src/ifcopenshell-python/ifcopenshell/template.py | 4 ++++ 11 files changed, 37 insertions(+) diff --git a/src/ifcopenshell-python/ifcopenshell/__init__.py b/src/ifcopenshell-python/ifcopenshell/__init__.py index 6543a7e5d1..98fc5e0f29 100644 --- a/src/ifcopenshell-python/ifcopenshell/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/__init__.py @@ -17,6 +17,8 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division from __future__ import print_function import os diff --git a/src/ifcopenshell-python/ifcopenshell/entity_instance.py b/src/ifcopenshell-python/ifcopenshell/entity_instance.py index 34b72e8de5..04c6f9f012 100644 --- a/src/ifcopenshell-python/ifcopenshell/entity_instance.py +++ b/src/ifcopenshell-python/ifcopenshell/entity_instance.py @@ -16,6 +16,9 @@ # along with this program. If not, see . # # # ############################################################################### + +from __future__ import absolute_import +from __future__ import division from __future__ import print_function import functools diff --git a/src/ifcopenshell-python/ifcopenshell/file.py b/src/ifcopenshell-python/ifcopenshell/file.py index db4ee8cebb..1c9132c110 100644 --- a/src/ifcopenshell-python/ifcopenshell/file.py +++ b/src/ifcopenshell-python/ifcopenshell/file.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import numbers import functools diff --git a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py index 1a33696037..8281bf0aca 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/__init__.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/__init__.py @@ -17,5 +17,9 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + from . import occ_utils as utils from .main import * diff --git a/src/ifcopenshell-python/ifcopenshell/geom/app.py b/src/ifcopenshell-python/ifcopenshell/geom/app.py index 8dad8c365c..27490ba176 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/app.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/app.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import +from __future__ import division from __future__ import print_function import os diff --git a/src/ifcopenshell-python/ifcopenshell/geom/code_editor_pane.py b/src/ifcopenshell-python/ifcopenshell/geom/code_editor_pane.py index 70594470cc..7f28675ac3 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/code_editor_pane.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/code_editor_pane.py @@ -1,3 +1,5 @@ +from __future__ import absolute_import +from __future__ import division from __future__ import print_function import os diff --git a/src/ifcopenshell-python/ifcopenshell/geom/main.py b/src/ifcopenshell-python/ifcopenshell/geom/main.py index 197e6c5d5f..a542216a41 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/main.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/main.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import os import sys diff --git a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py index 6ac620e546..33c1e00b5d 100644 --- a/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py +++ b/src/ifcopenshell-python/ifcopenshell/geom/occ_utils.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import random import operator from collections import namedtuple, Iterable diff --git a/src/ifcopenshell-python/ifcopenshell/guid.py b/src/ifcopenshell-python/ifcopenshell/guid.py index 86ee5c4cef..c768a2cf81 100644 --- a/src/ifcopenshell-python/ifcopenshell/guid.py +++ b/src/ifcopenshell-python/ifcopenshell/guid.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import uuid import string diff --git a/src/ifcopenshell-python/ifcopenshell/main.py b/src/ifcopenshell-python/ifcopenshell/main.py index 197c5bf95e..0111e0a355 100644 --- a/src/ifcopenshell-python/ifcopenshell/main.py +++ b/src/ifcopenshell-python/ifcopenshell/main.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + from . import ifcopenshell_wrapper version = ifcopenshell_wrapper.version() diff --git a/src/ifcopenshell-python/ifcopenshell/template.py b/src/ifcopenshell-python/ifcopenshell/template.py index a4f08c9cdd..84d647c0fb 100644 --- a/src/ifcopenshell-python/ifcopenshell/template.py +++ b/src/ifcopenshell-python/ifcopenshell/template.py @@ -17,6 +17,10 @@ # # ############################################################################### +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function + import time import uuid