From 5218ce77e197e120b0473f28b3d1a9931e073277 Mon Sep 17 00:00:00 2001 From: Ovidiu Mircescu Date: Wed, 18 Sep 2019 16:51:38 +0200 Subject: [PATCH] More fixes for ASTERComponent. --- module_generator/aster_tmpl.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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() -- 2.39.2