From: Andy T. <an...@us...> - 2005-12-13 11:14:09
|
Update of /cvsroot/pythoncard/PythonCard/samples/companies In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19204/companies Modified Files: parse_companies.py Log Message: Removed all of the plain except: clauses I could Index: parse_companies.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/companies/parse_companies.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** parse_companies.py 8 Aug 2004 18:31:53 -0000 1.9 --- parse_companies.py 13 Dec 2005 11:13:22 -0000 1.10 *************** *** 92,96 **** try: offset = lines.index('') ! except: offset = -1 --- 92,96 ---- try: offset = lines.index('') ! except ValueError: offset = -1 *************** *** 243,245 **** if __name__ == '__main__': ! buildTextAndPickleFiles() \ No newline at end of file --- 243,245 ---- if __name__ == '__main__': ! buildTextAndPickleFiles() |