moved the initialization of psyco after the initialization

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@140 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
LtWorf 2009-04-29 12:14:00 +00:00
parent a877fd2dcf
commit bc0492ef77
2 changed files with 9 additions and 7 deletions

View File

@ -70,4 +70,5 @@
- Document about complexity of operations
- Bug: error in update operation, it changed the original tuple, so also other relations using the same tuple would change. Now it copies it.
- Added make install and uninstall
- Optimizer generate a tree from the expression
- Optimizer generate a tree from the expression
- Uses python-psyco when it is available

View File

@ -19,12 +19,6 @@
#
# author Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
try:
import psyco
psyco.full()
except:
pass
import sys
from PyQt4 import QtCore, QtGui
from relational_gui import maingui, about
@ -37,6 +31,13 @@ if __name__ == "__main__":
if len (sys.argv) > 1 and sys.argv[1] == "-v":
print version
sys.exit(0)
try:
import psyco
psyco.full()
except:
pass
app = QtGui.QApplication(sys.argv)
Form = QtGui.QWidget()