I have used generateDS to parse some Schema and now I have the output files. I then read a string from the somewhere that is the XML for the schema. I call parseString (s) and it echoes the string out to me. How do I tell generateDS.py to be silent during parsing?
The code being generated with generateDS.py is being done in a script and I do not want to have to write some goofy utility (I will if I have to) to comment out all of the sys.out.write statements. I can see the use of the echo for debugging, but it is annoying at best when things are working well and it is trying to parse a thousand messages a second. I looked through generateDS.py twice looking for a flag that would let me turn it off but I did not see it. So, please let me know if I missed something or if I have to write a silly tool to clean up the code generated with generateDS.py. -- Al Niessner 818.354.0859 All opinions stated above are mine and do not necessarily reflect those of JPL or NASA. -------- | dS | >= 0 -------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ generateds-users mailing list generateds-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/generateds-users