1 #@ MODIF context Noyau DATE 07/09/2009 AUTEUR COURTOIS M.COURTOIS
2 # -*- coding: iso-8859-1 -*-
3 # RESPONSABLE COURTOIS M.COURTOIS
4 # CONFIGURATION MANAGEMENT OF EDF VERSION
5 # ======================================================================
6 # COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
7 # THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
8 # IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
9 # THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
10 # (AT YOUR OPTION) ANY LATER VERSION.
12 # THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
13 # WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
14 # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
15 # GENERAL PUBLIC LICENSE FOR MORE DETAILS.
17 # YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
18 # ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
19 # 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
22 # ======================================================================
29 def set_current_step(step):
31 Fonction qui permet de changer la valeur de l'étape courante
34 if _root : raise "Impossible d'affecter _root. Il devrait valoir None"
37 def get_current_step():
39 Fonction qui permet d'obtenir la valeur de l'étape courante
43 def unset_current_step():
45 Fonction qui permet de remettre à None l'étape courante
50 def set_current_cata(cata):
52 Fonction qui permet de changer l'objet catalogue courant
55 if _cata : raise "Impossible d'affecter _cata. Il devrait valoir None"
58 def get_current_cata():
60 Fonction qui retourne l'objet catalogue courant
64 def unset_current_cata():
66 Fonction qui permet de remettre à None le catalogue courant