From: Pascale Noyret Date: Fri, 15 Oct 2010 14:23:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V2_1_1_beta~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a677ec6577842ca289514be983fab55b93c4f547;p=modules%2Feficas.git *** empty log message *** --- diff --git a/generator/generator_s_polymers_st_1.py b/generator/generator_s_polymers_st_1.py index 9693cbdc..77a2baaa 100644 --- a/generator/generator_s_polymers_st_1.py +++ b/generator/generator_s_polymers_st_1.py @@ -29,9 +29,11 @@ import types,string,re,os from generator_map import MapGenerator import sys -sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'),'classes/python/')) -from class_MAP_parameters import * - +try : + sys.path.append(os.path.join(os.getenv('MAP_DIRECTORY'),'classes/python/')) + from class_MAP_parameters import * +except : + pass #____________________________________________________________________________________ # PYGMEEDict contient une equivalence entre le catalogue Map et les lignes generees # comme entete (commentaire ?) dans le fichier d'input de pygmee