From cce839d3f097cbf8561c5f9787cc906b92e62ec2 Mon Sep 17 00:00:00 2001 From: Sophie Belloeil Date: Thu, 2 Sep 2010 14:54:48 +0000 Subject: [PATCH] GetString -> getString ... --- stratus1/src/stratus/st_const.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stratus1/src/stratus/st_const.py b/stratus1/src/stratus/st_const.py index dd8da513..6e2864ac 100644 --- a/stratus1/src/stratus/st_const.py +++ b/stratus1/src/stratus/st_const.py @@ -133,7 +133,7 @@ class Constant ( Model ) : else : self.outPut[i] <= Zero ( 1 ) i += 1 - def GetModelName ( cls, param ) : + def getModelName ( cls, param ) : modelName = "constant" modelName += "_" @@ -141,9 +141,9 @@ class Constant ( Model ) : return modelName - GetModelName = classmethod ( GetModelName ) + getModelName = classmethod ( getModelName ) - def GetString ( param ) : + def getString ( param ) : nb = param['nb'] # Error : if nb is not a string @@ -190,7 +190,7 @@ class Constant ( Model ) : return string - GetString = staticmethod ( GetString ) + getString = staticmethod ( getString ) def GetParam ( cls ):