From ee18fd7c69c2c6e9b8a082d9ee22083dcac8af16 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Mon, 8 Feb 2010 17:17:46 +0000 Subject: [PATCH] Make use of new module constfunc. svn: r14281 --- src/ReportBase/_GraphvizReportDialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index d01cee1cf..e958128c9 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -57,6 +57,7 @@ from _ReportDialog import ReportDialog from _PaperMenu import PaperFrame from gen.plug.menu import NumberOption, TextOption, EnumeratedListOption, \ BooleanOption +import constfunc #------------------------------------------------------------------------------- # @@ -88,7 +89,7 @@ _RATIO = [ { 'name' : _("Minimal size"), 'value': "compress" }, _NOTELOC = [ { 'name' : _("Top"), 'value' : "t" }, { 'name' : _("Bottom"), 'value' : "b" }] -if os.sys.platform == "win32": +if constfunc.win(): _DOT_FOUND = Utils.search_for("dot.exe") if Utils.search_for("gswin32c.exe") == 1: