From: <ki...@us...> - 2003-04-23 21:35:55
|
Update of /cvsroot/pymerase/pymerase/examples/school In directory sc8-pr-cvs1:/tmp/cvs-serv23229 Modified Files: createsql.py Log Message: Fixed the following by adding {} as the 4th arg Traceback (most recent call last): File "createsql.py", line 19, in ? parsed_input = translator.read(schema, 'parseGenexSchemaXML') TypeError: read() takes exactly 4 arguments (3 given) Index: createsql.py =================================================================== RCS file: /cvsroot/pymerase/pymerase/examples/school/createsql.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** createsql.py 5 Feb 2003 23:07:21 -0000 1.4 --- createsql.py 23 Apr 2003 21:35:50 -0000 1.5 *************** *** 17,21 **** translator.setNameMangler(mangler, 'CreateSQL') ! parsed_input = translator.read(schema, 'parseGenexSchemaXML') translator.write(parsed_input, sql_output, 'CreateSQL') --- 17,21 ---- translator.setNameMangler(mangler, 'CreateSQL') ! parsed_input = translator.read(schema, 'parseGenexSchemaXML', {}) translator.write(parsed_input, sql_output, 'CreateSQL') |