Update of /cvsroot/pymerase/pymerase/pymerase/output
In directory sc8-pr-cvs1:/tmp/cvs-serv14309/pymerase/output
Modified Files:
CreateDBAPI.py
Log Message:
either removed unecessary prints or turned them into DebugWarnings to simplify the runtime output. (The first step to providing meaningful error messages.)
Index: CreateDBAPI.py
===================================================================
RCS file: /cvsroot/pymerase/pymerase/pymerase/output/CreateDBAPI.py,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** CreateDBAPI.py 5 Apr 2003 01:38:36 -0000 1.28
--- CreateDBAPI.py 9 Apr 2003 00:08:46 -0000 1.29
***************
*** 304,308 ****
for thisEnd in associationEnds:
otherEnd = thisEnd.getOppositeEnd()
! print thisEnd.getName(None), otherEnd.getName(None)
--- 304,309 ----
for thisEnd in associationEnds:
otherEnd = thisEnd.getOppositeEnd()
! warn("assoc: (%s,%s)" % (thisEnd.getName(None), otherEnd.getName(None)),
! DebugWarning)
***************
*** 345,349 ****
"""
className = classMetaInfo.getName(TRANSLATOR_NAME)
! print classMetaInfo.getAssociationEnds().items()
classAssociationEnds = classMetaInfo.getAssociationEnds().values()
classAttributes = classMetaInfo.getAttributes()
--- 346,352 ----
"""
className = classMetaInfo.getName(TRANSLATOR_NAME)
! warn("class %s assocs: %s" % (className,
! str(classMetaInfo.getAssociationEnds().items())),
! DebugWarning)
classAssociationEnds = classMetaInfo.getAssociationEnds().values()
classAttributes = classMetaInfo.getAttributes()
|