micropython

Change of test.py

39:f20efed95927
test.py
     1.1 --- a/test.py	Sat Feb 09 19:37:38 2008 +0100
     1.2 +++ b/test.py	Sun Feb 10 21:20:38 2008 +0100
     1.3 @@ -14,9 +14,8 @@
     1.4          #m = i.load_from_file("micropython/__init__.py")
     1.5      else:
     1.6          m = i.load_from_file(sys.argv[1])
     1.7 -except micropython.InspectError, exc:
     1.8 -    print "At line", exc.node.lineno, "the following error occurred:"
     1.9 -    print exc.message
    1.10 +except micropython.ProcessingError, exc:
    1.11 +    print repr(exc)
    1.12  else:
    1.13      i.vacuum()
    1.14      ot = i.get_object_table()