From 404e44671d8424de67e75444970b5f7ab24e1c22 Mon Sep 17 00:00:00 2001 From: LtWorf Date: Wed, 18 May 2011 08:17:05 +0000 Subject: [PATCH] - Can start without relational_gui and correctly report an error git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@306 014f5005-505e-4b48-8d0a-63407b615a7c --- relational.1 | 2 +- relational_gui.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/relational.1 b/relational.1 index cd8a1be..922afaa 100644 --- a/relational.1 +++ b/relational.1 @@ -1,4 +1,4 @@ -.TH "Relational" "1" +.TH "Relational" "1.1" .SH "NAME" relational \(em Python implementation of Relational algebra. .SH "SYNOPSIS" diff --git a/relational_gui.py b/relational_gui.py index da33117..5afe929 100755 --- a/relational_gui.py +++ b/relational_gui.py @@ -81,14 +81,13 @@ if __name__ == "__main__": x11=False if x11: - import sip - from PyQt4 import QtCore, QtGui - try: from relational_gui import maingui,guihandler, about, surveyForm except: print >> sys.stderr, "Module relational_gui is missing.\nPlease install relational package." sys.exit(3) + + from PyQt4 import QtGui about.version=version surveyForm.version=version @@ -100,7 +99,6 @@ if __name__ == "__main__": #if os.name=='nt': Form.setFont(QtGui.QFont("Dejavu Sans Bold")) - ui.setupUi(Form)