From: Ovidiu Mircescu Date: Wed, 18 Sep 2019 14:51:38 +0000 (+0200) Subject: More fixes for ASTERComponent. X-Git-Tag: V9_4_0b1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b3f1283aaefb149b6b1e40f44a0ee0c44be6c41;p=tools%2Fyacsgen.git More fixes for ASTERComponent. --- diff --git a/module_generator/aster_tmpl.py b/module_generator/aster_tmpl.py index ec1d59f..a8081e5 100644 --- a/module_generator/aster_tmpl.py +++ b/module_generator/aster_tmpl.py @@ -89,7 +89,6 @@ asterCEXECompo=""" # Interet: introduire DEBUT() dans ce prefixe pour ne plus avoir a s'en preoccuper (ex: boucle for each) import sys,traceback,os import string -import cPickle import ${module}_ORB__POA import calcium import dsccalcium @@ -281,7 +280,7 @@ asterCEXEService=""" self.beginService("${component}.${service}") try: args=${dvars} - if not args.has_key("jdc"): + if "jdc" not in args: fcomm=open("jdc",'r') jdc=fcomm.read() fcomm.close()