fix pylint py3k conversion warning: "(no-absolute-import) import missing `from __future__ import absolute_import`"
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Wed, 25 Oct 2017 13:50:26 +0300
changeset 1881 091005ec69c4
parent 1880 e5ddbaf756cb
child 1882 3707240447f8
fix pylint py3k conversion warning: "(no-absolute-import) import missing `from __future__ import absolute_import`"
Beremiz.py
BeremizIDE.py
Beremiz_service.py
CodeFileTreeNode.py
ConfigTreeNode.py
IDEFrame.py
NativeLib.py
PLCControler.py
PLCGenerator.py
PLCOpenEditor.py
POULibrary.py
ProjectController.py
c_ext/CFileEditor.py
canfestival/NetworkEditor.py
canfestival/SlaveEditor.py
canfestival/config_utils.py
connectors/PYRO/__init__.py
connectors/WAMP/__init__.py
connectors/__init__.py
controls/CustomEditableListBox.py
controls/CustomGrid.py
controls/CustomIntCtrl.py
controls/CustomStyledTextCtrl.py
controls/CustomTable.py
controls/CustomToolTip.py
controls/CustomTree.py
controls/DebugVariablePanel/DebugVariableItem.py
controls/DebugVariablePanel/DebugVariableViewer.py
controls/DebugVariablePanel/GraphButton.py
controls/DurationCellEditor.py
controls/EnhancedStatusBar.py
controls/FolderTree.py
controls/LibraryPanel.py
controls/LocationCellEditor.py
controls/LogViewer.py
controls/PouInstanceVariablesPanel.py
controls/ProjectPropertiesPanel.py
controls/SearchResultPanel.py
controls/TextCtrlAutoComplete.py
dialogs/AboutDialog.py
dialogs/ActionBlockDialog.py
dialogs/ArrayTypeDialog.py
dialogs/BlockPreviewDialog.py
dialogs/BrowseLocationsDialog.py
dialogs/BrowseValuesLibraryDialog.py
dialogs/DiscoveryDialog.py
dialogs/DurationEditorDialog.py
dialogs/FindInPouDialog.py
dialogs/ForceVariableDialog.py
dialogs/PouActionDialog.py
dialogs/PouDialog.py
dialogs/PouNameDialog.py
dialogs/PouTransitionDialog.py
dialogs/ProjectDialog.py
dialogs/SFCStepNameDialog.py
dialogs/SearchInProjectDialog.py
docutil/dochtml.py
docutil/docpdf.py
docutil/docsvg.py
editors/CodeFileEditor.py
editors/DebugViewer.py
editors/EditorPanel.py
editors/IECCodeViewer.py
graphics/DebugDataConsumer.py
graphics/FBD_Objects.py
graphics/GraphicCommons.py
graphics/LD_Objects.py
graphics/RubberBand.py
graphics/SFC_Objects.py
graphics/ToolTipProducer.py
i18n/mki18n.py
plcopen/definitions.py
plcopen/plcopen.py
py_ext/PythonEditor.py
runtime/NevowServer.py
runtime/PLCObject.py
runtime/ServicePublisher.py
runtime/WampClient.py
svgui/pyjs/jsonrpc/django/jsonrpc.py
svgui/pyjs/jsonrpc/jsonrpc.py
svgui/pyjs/jsonrpc/web2py/jsonrpc.py
svgui/pyjs/lib/pyjslib.py
svgui/pyjs/pyjs.py
svgui/svgui_server.py
targets/Generic/__init__.py
targets/Linux/__init__.py
targets/Win32/__init__.py
targets/Xenomai/__init__.py
targets/__init__.py
targets/toolchain_gcc.py
targets/toolchain_makefile.py
targets/typemapping.py
tests/tools/check_source.sh
tests/tools/conftest.py
tests/tools/test_CustomIntCtrl.py
tests/tools/test_application.py
util/BitmapLibrary.py
util/ExceptionHandler.py
util/MiniTextControler.py
util/ProcessLogger.py
util/TranslationCatalogs.py
util/paths.py
version.py
wxglade_hmi/wxglade_hmi.py
xmlclass/xmlclass.py
--- a/Beremiz.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/Beremiz.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/BeremizIDE.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/BeremizIDE.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 import os
 import sys
 import tempfile
--- a/Beremiz_service.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/Beremiz_service.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/CodeFileTreeNode.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/CodeFileTreeNode.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 import os
 import re
 import traceback
--- a/ConfigTreeNode.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/ConfigTreeNode.py	Wed Oct 25 13:50:26 2017 +0300
@@ -31,6 +31,7 @@
 - ... TODO : document
 """
 
+from __future__ import absolute_import
 import os
 import traceback
 import types
--- a/IDEFrame.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/IDEFrame.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import sys
 import cPickle
 from types import TupleType
--- a/NativeLib.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/NativeLib.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import util.paths as paths
 from POULibrary import POULibrary
 
--- a/PLCControler.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/PLCControler.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from types import TupleType
 from copy import deepcopy
 import os
--- a/PLCGenerator.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/PLCGenerator.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from types import *
 import re
 from plcopen import PLCOpenParser
--- a/PLCOpenEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/PLCOpenEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/POULibrary.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/POULibrary.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from weakref import ref
 
 
--- a/ProjectController.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/ProjectController.py	Wed Oct 25 13:50:26 2017 +0300
@@ -26,6 +26,9 @@
 """
 Beremiz Project Controller
 """
+
+
+from __future__ import absolute_import
 import os
 import traceback
 import time
--- a/c_ext/CFileEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/c_ext/CFileEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx.stc as stc
 
 from controls.CustomStyledTextCtrl import faces
--- a/canfestival/NetworkEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/canfestival/NetworkEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import wx
 
 from networkeditortemplate import NetworkEditorTemplate
--- a/canfestival/SlaveEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/canfestival/SlaveEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import wx
 
 from subindextable import EditingPanel
--- a/canfestival/config_utils.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/canfestival/config_utils.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/connectors/PYRO/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/connectors/PYRO/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import traceback
 from time import sleep
--- a/connectors/WAMP/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/connectors/WAMP/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import sys
 import traceback
--- a/connectors/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/connectors/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -25,6 +25,8 @@
 
 # Package initialisation
 
+
+from __future__ import absolute_import
 from os import listdir, path
 import util.paths as paths
 
--- a/controls/CustomEditableListBox.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomEditableListBox.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.gizmos
 
--- a/controls/CustomGrid.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomGrid.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.grid
 
--- a/controls/CustomIntCtrl.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomIntCtrl.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 import wx
 import wx.lib.intctrl
 
--- a/controls/CustomStyledTextCtrl.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomStyledTextCtrl.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.stc
 
--- a/controls/CustomTable.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomTable.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.grid
 
--- a/controls/CustomToolTip.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomToolTip.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import wx
 
 from controls.CustomStyledTextCtrl import faces
--- a/controls/CustomTree.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/CustomTree.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.lib.agw.customtreectrl as CT
 
--- a/controls/DebugVariablePanel/DebugVariableItem.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/DebugVariablePanel/DebugVariableItem.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import binascii
 import numpy
 from graphics.DebugDataConsumer import DebugDataConsumer, TYPE_TRANSLATOR
--- a/controls/DebugVariablePanel/DebugVariableViewer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/DebugVariablePanel/DebugVariableViewer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from collections import OrderedDict
 
 import wx
--- a/controls/DebugVariablePanel/GraphButton.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/DebugVariablePanel/GraphButton.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from util.BitmapLibrary import GetBitmap
--- a/controls/DurationCellEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/DurationCellEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from dialogs.DurationEditorDialog import DurationEditorDialog
--- a/controls/EnhancedStatusBar.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/EnhancedStatusBar.py	Wed Oct 25 13:50:26 2017 +0300
@@ -55,6 +55,7 @@
 
 """
 
+from __future__ import absolute_import
 import wx
 
 # Horizontal Alignment Constants
--- a/controls/FolderTree.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/FolderTree.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 
 import wx
--- a/controls/LibraryPanel.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/LibraryPanel.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import wx
 
 # -------------------------------------------------------------------------------
--- a/controls/LocationCellEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/LocationCellEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from dialogs.BrowseLocationsDialog import BrowseLocationsDialog
--- a/controls/LogViewer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/LogViewer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from datetime import datetime
 from time import time as gettime
 from weakref import proxy
--- a/controls/PouInstanceVariablesPanel.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/PouInstanceVariablesPanel.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from collections import namedtuple
 
 import wx
--- a/controls/ProjectPropertiesPanel.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/ProjectPropertiesPanel.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+from __future__ import absolute_import
 import wx
 
 # -------------------------------------------------------------------------------
--- a/controls/SearchResultPanel.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/SearchResultPanel.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from types import TupleType
 
 import wx
--- a/controls/TextCtrlAutoComplete.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/controls/TextCtrlAutoComplete.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import cPickle
 import wx
 
--- a/dialogs/AboutDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/AboutDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -30,6 +30,8 @@
 This module contains classes extended from wx.Dialog used by the GUI.
 """
 
+
+from __future__ import absolute_import
 import os
 import wx
 from wx.lib.agw.hyperlink import HyperLinkCtrl
--- a/dialogs/ActionBlockDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/ActionBlockDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 import wx.grid
 import wx.lib.buttons
--- a/dialogs/ArrayTypeDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/ArrayTypeDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -21,6 +21,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import re
 from types import TupleType
 
--- a/dialogs/BlockPreviewDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/BlockPreviewDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
--- a/dialogs/BrowseLocationsDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/BrowseLocationsDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.#
 
+
+from __future__ import absolute_import
 import wx
 
 from plcopen.structures import LOCATIONDATATYPES
--- a/dialogs/BrowseValuesLibraryDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/BrowseValuesLibraryDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 
--- a/dialogs/DiscoveryDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/DiscoveryDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import socket
 import wx
 import wx.lib.mixins.listctrl as listmix
--- a/dialogs/DurationEditorDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/DurationEditorDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import re
 
 import wx
--- a/dialogs/FindInPouDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/FindInPouDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 from plcopen.plcopen import *
 
--- a/dialogs/ForceVariableDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/ForceVariableDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -21,6 +21,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import re
 import datetime
 
--- a/dialogs/PouActionDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/PouActionDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
--- a/dialogs/PouDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/PouDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
--- a/dialogs/PouNameDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/PouNameDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
 
--- a/dialogs/PouTransitionDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/PouTransitionDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
--- a/dialogs/ProjectDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/ProjectDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from controls.ProjectPropertiesPanel import ProjectPropertiesPanel
--- a/dialogs/SFCStepNameDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/SFCStepNameDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 from plcopen.structures import TestIdentifier, IEC_KEYWORDS
 
--- a/dialogs/SearchInProjectDialog.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/dialogs/SearchInProjectDialog.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 from plcopen.plcopen import *
 from util.TranslationCatalogs import NoTranslate
--- a/docutil/dochtml.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/docutil/dochtml.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import subprocess
 import wx
 import wx.html
--- a/docutil/docpdf.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/docutil/docpdf.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import wx
--- a/docutil/docsvg.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/docutil/docsvg.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import subprocess
 import wx
--- a/editors/CodeFileEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/editors/CodeFileEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import re
 
 import wx
--- a/editors/DebugViewer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/editors/DebugViewer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from threading import Lock, Timer
 from time import time as gettime
 
--- a/editors/EditorPanel.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/editors/EditorPanel.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from controls import VariablePanel
--- a/editors/IECCodeViewer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/editors/IECCodeViewer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from editors.TextViewer import TextViewer
 from plcopen.plcopen import TestTextElement
 
--- a/graphics/DebugDataConsumer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/DebugDataConsumer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import datetime
 
 
--- a/graphics/FBD_Objects.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/FBD_Objects.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from graphics.GraphicCommons import *
--- a/graphics/GraphicCommons.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/GraphicCommons.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from math import *
 from types import *
 
--- a/graphics/LD_Objects.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/LD_Objects.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from graphics.GraphicCommons import *
--- a/graphics/RubberBand.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/RubberBand.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from graphics.GraphicCommons import GetScaledEventPosition
--- a/graphics/SFC_Objects.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/SFC_Objects.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from graphics.GraphicCommons import *
--- a/graphics/ToolTipProducer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/graphics/ToolTipProducer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import wx
 
 from controls.CustomToolTip import CustomToolTip, TOOLTIP_WAIT_PERIOD
--- a/i18n/mki18n.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/i18n/mki18n.py	Wed Oct 25 13:50:26 2017 +0300
@@ -78,6 +78,8 @@
 # Module Import
 # -------------
 #
+
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/plcopen/definitions.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/plcopen/definitions.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from os.path import join
 import util.paths as paths
 from util.TranslationCatalogs import NoTranslate
--- a/plcopen/plcopen.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/plcopen/plcopen.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from types import *
 import re
 from collections import OrderedDict
--- a/py_ext/PythonEditor.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/py_ext/PythonEditor.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import keyword
 import wx.stc as stc
 
--- a/runtime/NevowServer.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/runtime/NevowServer.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import util.paths as paths
--- a/runtime/PLCObject.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/runtime/PLCObject.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 
+from __future__ import absolute_import
 from threading import Timer, Thread, Lock, Semaphore, Event
 import ctypes
 import os
--- a/runtime/ServicePublisher.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/runtime/ServicePublisher.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import socket
 import threading
--- a/runtime/WampClient.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/runtime/WampClient.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import json
 
--- a/svgui/pyjs/jsonrpc/django/jsonrpc.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/pyjs/jsonrpc/django/jsonrpc.py	Wed Oct 25 13:50:26 2017 +0300
@@ -1,6 +1,8 @@
 # jsonrpc.py
 #   original code: http://trac.pyworks.org/pyjamas/wiki/DjangoWithPyJamas
 #   also from: http://www.pimentech.fr/technologies/outils
+
+from __future__ import absolute_import
 import datetime
 
 from django.core.serializers import serialize
--- a/svgui/pyjs/jsonrpc/jsonrpc.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/pyjs/jsonrpc/jsonrpc.py	Wed Oct 25 13:50:26 2017 +0300
@@ -1,3 +1,4 @@
+from __future__ import absolute_import
 import sys
 import gluon.contrib.simplejson as simplejson
 
--- a/svgui/pyjs/jsonrpc/web2py/jsonrpc.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/pyjs/jsonrpc/web2py/jsonrpc.py	Wed Oct 25 13:50:26 2017 +0300
@@ -1,6 +1,6 @@
 # pylint: disable=undefined-variable
 
-
+from __future__ import absolute_import
 from svgui.pyjs.jsonrpc.jsonrpc import JSONRPCServiceBase
 
 
--- a/svgui/pyjs/lib/pyjslib.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/pyjs/lib/pyjslib.py	Wed Oct 25 13:50:26 2017 +0300
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-# pylint: disable=too-many-function-args,undefined-variable
+# pylint: disable=too-many-function-args,undefined-variable,no-absolute-import
 
 # iteration from Bob Ippolito's Iteration in JavaScript
 
--- a/svgui/pyjs/pyjs.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/pyjs/pyjs.py	Wed Oct 25 13:50:26 2017 +0300
@@ -12,7 +12,8 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-
+#
+# pylint: disable=no-absolute-import
 
 from __future__ import print_function
 import sys
--- a/svgui/svgui_server.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/svgui/svgui_server.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 
 from nevow import tags, loaders
--- a/targets/Generic/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/Generic/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from ..toolchain_makefile import toolchain_makefile
 
 
--- a/targets/Linux/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/Linux/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from ..toolchain_gcc import toolchain_gcc
 
 
--- a/targets/Win32/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/Win32/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from ..toolchain_gcc import toolchain_gcc
 
 
--- a/targets/Xenomai/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/Xenomai/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 from ..toolchain_gcc import toolchain_gcc
 
 
--- a/targets/__init__.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/__init__.py	Wed Oct 25 13:50:26 2017 +0300
@@ -34,6 +34,8 @@
 - The target folder's name must match to name define in the XSD for TargetType
 """
 
+
+from __future__ import absolute_import
 from os import listdir, path
 import util.paths as paths
 
--- a/targets/toolchain_gcc.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/toolchain_gcc.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import re
 import operator
--- a/targets/toolchain_makefile.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/toolchain_makefile.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import re
 import operator
--- a/targets/typemapping.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/targets/typemapping.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
+
+from __future__ import absolute_import
 import ctypes
 from ctypes import *
 from datetime import timedelta as td
--- a/tests/tools/check_source.sh	Mon Oct 23 18:25:45 2017 +0300
+++ b/tests/tools/check_source.sh	Wed Oct 25 13:50:26 2017 +0300
@@ -272,6 +272,7 @@
     enable=$enable,W0106          # (expression-not-assigned) Expression "X" is assigned to nothing
     enable=$enable,C0330          # (bad-continuation) Wrong hanging indentation before block
     enable=$enable,E1136          # (unsubscriptable-object) Value 'X' is unsubscriptable
+    enable=$enable,W1618          # (no-absolute-import) import missing `from __future__ import absolute_import`
     # enable=
 
     options=
--- a/tests/tools/conftest.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/tests/tools/conftest.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import sys
 
--- a/tests/tools/test_CustomIntCtrl.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/tests/tools/test_CustomIntCtrl.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import unittest
 import time
 
--- a/tests/tools/test_application.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/tests/tools/test_application.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import sys
--- a/util/BitmapLibrary.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/BitmapLibrary.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 
 import wx
--- a/util/ExceptionHandler.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/ExceptionHandler.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import sys
 import time
--- a/util/MiniTextControler.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/MiniTextControler.py	Wed Oct 25 13:50:26 2017 +0300
@@ -26,6 +26,8 @@
 Minimal tab controller for a simple text editor
 """
 
+
+from __future__ import absolute_import
 import os
 
 
--- a/util/ProcessLogger.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/ProcessLogger.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import sys
 import subprocess
--- a/util/TranslationCatalogs.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/TranslationCatalogs.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import __builtin__
 import wx
--- a/util/paths.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/util/paths.py	Wed Oct 25 13:50:26 2017 +0300
@@ -22,6 +22,8 @@
 # along with this program; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
+
+from __future__ import absolute_import
 import os
 import sys
 
--- a/version.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/version.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
+from __future__ import absolute_import
 import subprocess
 import os
 
--- a/wxglade_hmi/wxglade_hmi.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/wxglade_hmi/wxglade_hmi.py	Wed Oct 25 13:50:26 2017 +0300
@@ -24,6 +24,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 import os
 import sys
 import shutil
--- a/xmlclass/xmlclass.py	Mon Oct 23 18:25:45 2017 +0300
+++ b/xmlclass/xmlclass.py	Wed Oct 25 13:50:26 2017 +0300
@@ -23,6 +23,7 @@
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 
+from __future__ import absolute_import
 from __future__ import print_function
 import os
 import re