From: <de...@us...> - 2003-04-02 22:20:23
|
Update of /cvsroot/pymerase/pymerase/pymerase In directory sc8-pr-cvs1:/tmp/cvs-serv3137 Modified Files: __init__.py Log Message: Removed default parameters for the read & write api calls. This was to fix bug #714139, where multiple calls to read would accrete the contents of each schema being parsed. Index: __init__.py =================================================================== RCS file: /cvsroot/pymerase/pymerase/pymerase/__init__.py,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** __init__.py 26 Mar 2003 01:13:14 -0000 1.30 --- __init__.py 2 Apr 2003 22:20:17 -0000 1.31 *************** *** 258,262 **** ! def read(self, source, inputTranslator=None, classesInModel={}): """Given a translator and source of input, parse object definitions. """ --- 258,262 ---- ! def read(self, source, inputTranslator, classesInModel): """Given a translator and source of input, parse object definitions. """ *************** *** 273,277 **** return parsedInput ! def write(self, parsedInput, destination, outputTranslator=None): """Given parsed object definitions write output defined by an output_translator. --- 273,277 ---- return parsedInput ! def write(self, parsedInput, destination, outputTranslator): """Given parsed object definitions write output defined by an output_translator. |