From 87f58313d3164c9465970149828e8aeabb1ca507 Mon Sep 17 00:00:00 2001 From: Pascale Noyret Date: Thu, 25 Mar 2010 09:43:54 +0000 Subject: [PATCH] *** empty log message *** --- InterfaceQT4/editor.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/InterfaceQT4/editor.py b/InterfaceQT4/editor.py index 6ebcc589..ede2c6fa 100644 --- a/InterfaceQT4/editor.py +++ b/InterfaceQT4/editor.py @@ -488,9 +488,9 @@ class JDCEditor(QSplitter): QMessageBox.critical( self, "Format "+format+" non reconnu","EFICAS ne sait pas convertir le JDC selon le format "+format) return "" - #-------------------------# - def run(self,exec="oui"): - #-------------------------# + #-----------------------------# + def run(self,execution="oui"): + #-----------------------------# format=self.appliEficas.format_fichier self.textePython="" if generator.plugins.has_key(format): @@ -505,13 +505,13 @@ class JDCEditor(QSplitter): txt= apply(JDCEditor.__dict__[code],(self,)) if txt !="" : self.textePython=self.textePython+txt - if exec="oui" : + if execution=="oui" : os.system(self.textePython) - else + else: return self.textePython def saveRun(self): - texte=self.run(exec="non") + texte=self.run(execution="non") print texte -- 2.39.2