Update of /cvsroot/modeling/ProjectModeling/Modeling/ModelMasons/Python_bricks
In directory sc8-pr-cvs1:/tmp/cvs-serv20408/ModelMasons/Python_bricks
Modified Files:
Tag: brch-0_9pre6-1-ModelMasons_base_generation_scheme
init.tmpl init_base.tmpl module_base.tmpl
Log Message:
Added a timestamp in comment at beginning of file
Index: init.tmpl
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ModelMasons/Python_bricks/init.tmpl,v
retrieving revision 1.3.4.1
retrieving revision 1.3.4.2
diff -C2 -d -r1.3.4.1 -r1.3.4.2
*** init.tmpl 21 Apr 2003 22:53:05 -0000 1.3.4.1
--- init.tmpl 16 May 2003 11:02:47 -0000 1.3.4.2
***************
*** 1,3 ****
--- 1,5 ----
## This template will build the __init__.py file
+ #import time
+ # Generated by mdl_generate_python_code.py / time.strftime("%Y/%m/%d %H:%M")
#set $model_name = str($model().name())
# Load the model
Index: init_base.tmpl
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ModelMasons/Python_bricks/Attic/init_base.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** init_base.tmpl 21 Apr 2003 22:53:05 -0000 1.1.2.1
--- init_base.tmpl 16 May 2003 11:02:47 -0000 1.1.2.2
***************
*** 1,4 ****
--- 1,6 ----
## This template will build the __init__.py file in the 'base_dir' package
## (see ModelMasons.PyModelMason)
+ # WARNING: Any changes made here will be OVERWRITTEN next time the package
+ # is regenerated
#for entities in $entitiesSet:
import $(entities[0].moduleName())
Index: module_base.tmpl
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ModelMasons/Python_bricks/module_base.tmpl,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** module_base.tmpl 21 Apr 2003 22:53:05 -0000 1.1.2.1
--- module_base.tmpl 16 May 2003 11:02:47 -0000 1.1.2.2
***************
*** 1,4 ****
--- 1,6 ----
## This template will build the module
+ #import time
import $(base_dir)
+ # Generated by mdl_generate_python_code.py / time.strftime("%Y/%m/%d %H:%M")
from Modeling.Validation import ValidationException
from mx.DateTime import DateTimeFrom
|