[Modeling-cvs] ProjectModeling/Modeling/scripts mdl_validate_model.py,1.3,1.4
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-06-24 08:51:18
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv31980/scripts Modified Files: mdl_validate_model.py Log Message: Fixed: ModelValidation does not issue an error anymore when a model contains a CHAR/VARCHAR field with no width set, as long as the underlying adaptor supports it (varchar w/o width are valid for: Postgresql, SQLite), as Ernesto Revilla suggested it. Index: mdl_validate_model.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/mdl_validate_model.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mdl_validate_model.py 22 Apr 2003 11:08:00 -0000 1.3 --- mdl_validate_model.py 24 Jun 2003 08:51:10 -0000 1.4 *************** *** 31,35 **** from Modeling.ModelSet import ModelSet from Modeling import ModelValidation as MV ! from Modeling.ModelValidation import NOT_SUPPORTED, ERROR, WARNING, INFO --- 31,35 ---- from Modeling.ModelSet import ModelSet from Modeling import ModelValidation as MV ! from Modeling.ModelValidation import NOT_SUPPORTED,ERROR,WARNING,INFO,DEBUG *************** *** 95,99 **** global quiet_mode ignore_warnings=verbose=0 ! ignore_levels=[] for k, v in options: if k in ('-h', '--help'): usage(me); return 0 --- 95,99 ---- global quiet_mode ignore_warnings=verbose=0 ! ignore_levels=[DEBUG] for k, v in options: if k in ('-h', '--help'): usage(me); return 0 |