When terminating loops by searching for blank lines, it is better to use:
When terminating loops by searching for blank lines, it is better to use:

while line.strip():
    line = inputfile.next()

rather than:

while line!="\n":
    line = inputfile.next()

as the latter is not cross-platform (i.e. it failed on Linux when dealing with GAMESS files created on Windows).

Two changes were made to the gamessparser in this respect.



git-svn-id: d468cea6ffe92bc1eb1f3bde47ad7e70b065426a@48 5acbf244-8a03-4a8b-a19b-0d601add4d27

Clyde-fare/cclib_bak,Clyde-fare/cclib_bak