From 1917f64d566b7776becfa6ca111561f41eb00b94 Mon Sep 17 00:00:00 2001 From: Roselyne Chotin Date: Fri, 10 Aug 2012 15:00:08 +0000 Subject: [PATCH] correct bug in lower of net's name --- stratus1/src/stratus/st_net.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratus1/src/stratus/st_net.py b/stratus1/src/stratus/st_net.py index d259f572..ea05c782 100644 --- a/stratus1/src/stratus/st_net.py +++ b/stratus1/src/stratus/st_net.py @@ -876,7 +876,7 @@ class net : # Error : if re.search ( "[A-Z]", nom ) : print "[Stratus Warning] : Upper case letters are not supported, the name", nom, "is lowered." - nom.lower () + nom = nom.lower () if re.search ( " ", nom ) : chaine = re.search ( "st_net\.(.*)", str ( self.__class__ ) ) classe = chaine.group(1)