Update of /cvsroot/modeling/ProjectModeling/Modeling/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv1701/Modeling/scripts
Modified Files:
bug861048.py
Log Message:
doc updated
Index: bug861048.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/bug861048.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** bug861048.py 17 Dec 2003 17:00:08 -0000 1.1
--- bug861048.py 18 Dec 2003 15:35:21 -0000 1.2
***************
*** 23,27 ****
#-----------------------------------------------------------------------------
"""
! Diagnose bug #861048 and tells what should be done, if appropriate
"""
__version__='$Revision$'[11:-2]
--- 23,30 ----
#-----------------------------------------------------------------------------
"""
! Examine a model, check if it is affected by bug #861048, and, if appropriate,
! tell what should be done to correct the database schema.
!
! Usage: bug861048.py <model_file>
"""
__version__='$Revision$'[11:-2]
***************
*** 99,106 ****
import os, sys
if len(sys.argv)!=2:
! print "Usage: %s <model_file>"%sys.argv[0]
! sys.exit()
! from Modeling import ModelSet, Model
! model=Model.loadModel(sys.argv[1])
! bug861048(model)
--- 102,109 ----
import os, sys
if len(sys.argv)!=2:
! print __doc__
! else:
! from Modeling import ModelSet, Model
! model=Model.loadModel(sys.argv[1])
! bug861048(model)
|