From be01bca66a7178b6e6acfd6d88596db2f37e11ff Mon Sep 17 00:00:00 2001 From: Federico Montesino Pouzols <federico.montesino-pouzols@stfc.ac.uk> Date: Mon, 17 Nov 2014 12:30:43 +0000 Subject: [PATCH] add from... import * for proper init, re #8912 --- Code/Mantid/MantidPlot/mantidplot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Code/Mantid/MantidPlot/mantidplot.py b/Code/Mantid/MantidPlot/mantidplot.py index 48e47f867ff..4e379044d19 100644 --- a/Code/Mantid/MantidPlot/mantidplot.py +++ b/Code/Mantid/MantidPlot/mantidplot.py @@ -6,6 +6,7 @@ #------------------------------------------------------------------- try: - import pymantidplot + import mantidplot + from pymantidplot import * except ImportError: raise ImportError('Could not import mantidplot (when trying to import pymantidplot). Something is broken in this installation, please check.') -- GitLab