From ef1c0734b35a8064a4a01bd821d968d247816498 Mon Sep 17 00:00:00 2001
From: Martyn Gigg <martyn.gigg@gmail.com>
Date: Wed, 23 Jan 2019 15:17:11 +0000
Subject: [PATCH] Add __future__ imports to error reporter code.

---
 scripts/ErrorReporter/error_dialog_app.py       | 2 ++
 scripts/ErrorReporter/error_report_presenter.py | 2 ++
 scripts/ErrorReporter/errorreport.py            | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/scripts/ErrorReporter/error_dialog_app.py b/scripts/ErrorReporter/error_dialog_app.py
index df3da14ba2a..d2ac6f5f042 100644
--- a/scripts/ErrorReporter/error_dialog_app.py
+++ b/scripts/ErrorReporter/error_dialog_app.py
@@ -4,6 +4,8 @@
 #     NScD Oak Ridge National Laboratory, European Spallation Source
 #     & Institut Laue - Langevin
 # SPDX - License - Identifier: GPL - 3.0 +
+from __future__ import (absolute_import, print_function)
+
 import sys
 import argparse
 
diff --git a/scripts/ErrorReporter/error_report_presenter.py b/scripts/ErrorReporter/error_report_presenter.py
index bf7a7d6b609..8902842fede 100644
--- a/scripts/ErrorReporter/error_report_presenter.py
+++ b/scripts/ErrorReporter/error_report_presenter.py
@@ -4,6 +4,8 @@
 #     NScD Oak Ridge National Laboratory, European Spallation Source
 #     & Institut Laue - Langevin
 # SPDX - License - Identifier: GPL - 3.0 +
+from __future__ import (absolute_import, print_function)
+
 import os
 
 from mantid.kernel import ErrorReporter, UsageService, ConfigService
diff --git a/scripts/ErrorReporter/errorreport.py b/scripts/ErrorReporter/errorreport.py
index 8acec4d2be1..039d8796553 100644
--- a/scripts/ErrorReporter/errorreport.py
+++ b/scripts/ErrorReporter/errorreport.py
@@ -4,6 +4,8 @@
 #     NScD Oak Ridge National Laboratory, European Spallation Source
 #     & Institut Laue - Langevin
 # SPDX - License - Identifier: GPL - 3.0 +
+from __future__ import (absolute_import, print_function)
+
 from qtpy import QtGui, QtCore, QtWidgets
 from qtpy.QtCore import Signal
 
-- 
GitLab