summaryrefslogtreecommitdiff
path: root/grc/core
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core')
-rw-r--r--grc/core/Config.py1
-rw-r--r--grc/core/Connection.py1
-rw-r--r--grc/core/Constants.py1
-rw-r--r--grc/core/FlowGraph.py1
-rw-r--r--grc/core/Messages.py1
-rw-r--r--grc/core/blocks/__init__.py1
-rw-r--r--grc/core/blocks/_build.py1
-rw-r--r--grc/core/blocks/_flags.py1
-rw-r--r--grc/core/blocks/_templates.py1
-rw-r--r--grc/core/blocks/block.py1
-rw-r--r--grc/core/blocks/dummy.py1
-rw-r--r--grc/core/blocks/embedded_python.py1
-rw-r--r--grc/core/blocks/virtual.py1
-rw-r--r--grc/core/cache.py1
-rw-r--r--grc/core/errors.py1
-rw-r--r--grc/core/generator/FlowGraphProxy.py1
-rw-r--r--grc/core/generator/Generator.py1
-rw-r--r--grc/core/generator/__init__.py1
-rw-r--r--grc/core/io/yaml.py1
-rw-r--r--grc/core/params/dtypes.py1
-rw-r--r--grc/core/params/param.py1
-rw-r--r--grc/core/params/template_arg.py1
-rw-r--r--grc/core/platform.py1
-rw-r--r--grc/core/ports/__init__.py1
-rw-r--r--grc/core/ports/_virtual_connections.py1
-rw-r--r--grc/core/ports/port.py1
-rw-r--r--grc/core/schema_checker/validator.py1
-rw-r--r--grc/core/utils/__init__.py1
-rw-r--r--grc/core/utils/backports/__init__.py1
-rw-r--r--grc/core/utils/backports/shlex.py1
-rw-r--r--grc/core/utils/descriptors/evaluated.py1
-rw-r--r--grc/core/utils/epy_block_io.py1
-rw-r--r--grc/core/utils/expr_utils.py1
-rw-r--r--grc/core/utils/extract_docs.py1
34 files changed, 0 insertions, 34 deletions
diff --git a/grc/core/Config.py b/grc/core/Config.py
index ff98674b3e..df80528a74 100644
--- a/grc/core/Config.py
+++ b/grc/core/Config.py
@@ -5,7 +5,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import
import os
from os.path import expanduser, normpath, expandvars, exists
diff --git a/grc/core/Connection.py b/grc/core/Connection.py
index 998b09823a..f5a466f246 100644
--- a/grc/core/Connection.py
+++ b/grc/core/Connection.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import
from .base import Element
from .utils.descriptors import lazy_property
diff --git a/grc/core/Constants.py b/grc/core/Constants.py
index 504b4ec0f9..b5b7c270cf 100644
--- a/grc/core/Constants.py
+++ b/grc/core/Constants.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import
import os
import numbers
diff --git a/grc/core/FlowGraph.py b/grc/core/FlowGraph.py
index b0141f8705..93d2f932a2 100644
--- a/grc/core/FlowGraph.py
+++ b/grc/core/FlowGraph.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import, print_function
import collections
import itertools
diff --git a/grc/core/Messages.py b/grc/core/Messages.py
index 23902e57e6..ec2221e25a 100644
--- a/grc/core/Messages.py
+++ b/grc/core/Messages.py
@@ -5,7 +5,6 @@
#
-from __future__ import absolute_import
import traceback
import sys
diff --git a/grc/core/blocks/__init__.py b/grc/core/blocks/__init__.py
index 61f63fa88f..815df9f311 100644
--- a/grc/core/blocks/__init__.py
+++ b/grc/core/blocks/__init__.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from ._flags import Flags
from ._templates import MakoTemplates
diff --git a/grc/core/blocks/_build.py b/grc/core/blocks/_build.py
index 151fa3274f..690f21390f 100644
--- a/grc/core/blocks/_build.py
+++ b/grc/core/blocks/_build.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import itertools
import re
diff --git a/grc/core/blocks/_flags.py b/grc/core/blocks/_flags.py
index ad370c2f37..a1bc7041d2 100644
--- a/grc/core/blocks/_flags.py
+++ b/grc/core/blocks/_flags.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import six
diff --git a/grc/core/blocks/_templates.py b/grc/core/blocks/_templates.py
index fd94bc5784..7c84d1dbe7 100644
--- a/grc/core/blocks/_templates.py
+++ b/grc/core/blocks/_templates.py
@@ -8,7 +8,6 @@ This dict class holds a (shared) cache of compiled mako templates.
These
"""
-from __future__ import absolute_import, print_function
from mako.template import Template
from mako.exceptions import SyntaxException
diff --git a/grc/core/blocks/block.py b/grc/core/blocks/block.py
index 3dbdfbef1a..8cd0e3e926 100644
--- a/grc/core/blocks/block.py
+++ b/grc/core/blocks/block.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import
import collections
import itertools
diff --git a/grc/core/blocks/dummy.py b/grc/core/blocks/dummy.py
index 202a30ffd3..8445073370 100644
--- a/grc/core/blocks/dummy.py
+++ b/grc/core/blocks/dummy.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from . import Block, register_build_in
diff --git a/grc/core/blocks/embedded_python.py b/grc/core/blocks/embedded_python.py
index fd0cae4049..14535fed10 100644
--- a/grc/core/blocks/embedded_python.py
+++ b/grc/core/blocks/embedded_python.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from ast import literal_eval
from textwrap import dedent
diff --git a/grc/core/blocks/virtual.py b/grc/core/blocks/virtual.py
index 598e8371d5..18f59f19d6 100644
--- a/grc/core/blocks/virtual.py
+++ b/grc/core/blocks/virtual.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import itertools
diff --git a/grc/core/cache.py b/grc/core/cache.py
index f7a130539f..bda84368f8 100644
--- a/grc/core/cache.py
+++ b/grc/core/cache.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import, print_function, unicode_literals
from io import open
import json
diff --git a/grc/core/errors.py b/grc/core/errors.py
index d00aef6a87..675a553ba0 100644
--- a/grc/core/errors.py
+++ b/grc/core/errors.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import, print_function
class GRCError(Exception):
diff --git a/grc/core/generator/FlowGraphProxy.py b/grc/core/generator/FlowGraphProxy.py
index 0003cb5012..9469cc3728 100644
--- a/grc/core/generator/FlowGraphProxy.py
+++ b/grc/core/generator/FlowGraphProxy.py
@@ -5,7 +5,6 @@
#
-from __future__ import absolute_import
from six.moves import range
from ..utils import expr_utils
diff --git a/grc/core/generator/Generator.py b/grc/core/generator/Generator.py
index 4bc3fd7cb1..1063fc8caf 100644
--- a/grc/core/generator/Generator.py
+++ b/grc/core/generator/Generator.py
@@ -5,7 +5,6 @@
#
-from __future__ import absolute_import
from .hier_block import HierBlockGenerator, QtHierBlockGenerator
from .top_block import TopBlockGenerator
diff --git a/grc/core/generator/__init__.py b/grc/core/generator/__init__.py
index b64972a621..cab55645be 100644
--- a/grc/core/generator/__init__.py
+++ b/grc/core/generator/__init__.py
@@ -4,5 +4,4 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from .Generator import Generator
diff --git a/grc/core/io/yaml.py b/grc/core/io/yaml.py
index 4e8ca5e651..b10a280c8c 100644
--- a/grc/core/io/yaml.py
+++ b/grc/core/io/yaml.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from collections import OrderedDict
diff --git a/grc/core/params/dtypes.py b/grc/core/params/dtypes.py
index b68f93ff73..4342216509 100644
--- a/grc/core/params/dtypes.py
+++ b/grc/core/params/dtypes.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import re
diff --git a/grc/core/params/param.py b/grc/core/params/param.py
index 2f829926d3..7e0f0ce462 100644
--- a/grc/core/params/param.py
+++ b/grc/core/params/param.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import ast
import collections
diff --git a/grc/core/params/template_arg.py b/grc/core/params/template_arg.py
index d7e02ab8fe..cb5b1b4a76 100644
--- a/grc/core/params/template_arg.py
+++ b/grc/core/params/template_arg.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
class TemplateArg(str):
diff --git a/grc/core/platform.py b/grc/core/platform.py
index af14c11d2b..cbc8a138b0 100644
--- a/grc/core/platform.py
+++ b/grc/core/platform.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import, print_function
from codecs import open
from collections import namedtuple
diff --git a/grc/core/ports/__init__.py b/grc/core/ports/__init__.py
index 5383e70d8f..bdbfa50420 100644
--- a/grc/core/ports/__init__.py
+++ b/grc/core/ports/__init__.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import
from .port import Port
from .clone import PortClone
diff --git a/grc/core/ports/_virtual_connections.py b/grc/core/ports/_virtual_connections.py
index 02db0058b7..a0e7b05a81 100644
--- a/grc/core/ports/_virtual_connections.py
+++ b/grc/core/ports/_virtual_connections.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from itertools import chain
diff --git a/grc/core/ports/port.py b/grc/core/ports/port.py
index 2d2f25d94f..91584c76da 100644
--- a/grc/core/ports/port.py
+++ b/grc/core/ports/port.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
from . import _virtual_connections
diff --git a/grc/core/schema_checker/validator.py b/grc/core/schema_checker/validator.py
index dabc911b50..903cb88b19 100644
--- a/grc/core/schema_checker/validator.py
+++ b/grc/core/schema_checker/validator.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import print_function
import six
diff --git a/grc/core/utils/__init__.py b/grc/core/utils/__init__.py
index 00002ed958..56804620a6 100644
--- a/grc/core/utils/__init__.py
+++ b/grc/core/utils/__init__.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import six
diff --git a/grc/core/utils/backports/__init__.py b/grc/core/utils/backports/__init__.py
index 53f54f30b1..5302379bcd 100644
--- a/grc/core/utils/backports/__init__.py
+++ b/grc/core/utils/backports/__init__.py
@@ -5,7 +5,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
-from __future__ import absolute_import
try:
from collections import ChainMap
diff --git a/grc/core/utils/backports/shlex.py b/grc/core/utils/backports/shlex.py
index a4f32ded80..857bb20878 100644
--- a/grc/core/utils/backports/shlex.py
+++ b/grc/core/utils/backports/shlex.py
@@ -5,7 +5,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
#
-from __future__ import absolute_import
import re
import shlex
diff --git a/grc/core/utils/descriptors/evaluated.py b/grc/core/utils/descriptors/evaluated.py
index 04925116fb..19fa46bbad 100644
--- a/grc/core/utils/descriptors/evaluated.py
+++ b/grc/core/utils/descriptors/evaluated.py
@@ -4,7 +4,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
#
-from __future__ import absolute_import
import six
diff --git a/grc/core/utils/epy_block_io.py b/grc/core/utils/epy_block_io.py
index 823116adb9..1b145d9b9a 100644
--- a/grc/core/utils/epy_block_io.py
+++ b/grc/core/utils/epy_block_io.py
@@ -1,5 +1,4 @@
-from __future__ import absolute_import
import inspect
import collections
diff --git a/grc/core/utils/expr_utils.py b/grc/core/utils/expr_utils.py
index e741802218..417e522539 100644
--- a/grc/core/utils/expr_utils.py
+++ b/grc/core/utils/expr_utils.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import, print_function
import string
diff --git a/grc/core/utils/extract_docs.py b/grc/core/utils/extract_docs.py
index 2be49e7320..8389c29e84 100644
--- a/grc/core/utils/extract_docs.py
+++ b/grc/core/utils/extract_docs.py
@@ -6,7 +6,6 @@ SPDX-License-Identifier: GPL-2.0-or-later
"""
-from __future__ import absolute_import, print_function
import sys
import re