Thread: python - typ: Fix handling of empty arrays.

python - typ: Fix handling of empty arrays.

From
jwp@pgfoundry.org (James William Pye)
Date:
Log Message:
-----------
Fix handling of empty arrays.
Too many places assumed that there would be elements in a list.

Add a test for it in io.py.

Modified Files:
--------------
    typ/src:
        root.py (r1.2 -> r1.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/typ/src/root.py.diff?r1=1.2&r2=1.3)
    typ/test:
        io.py (r1.1.1.1 -> r1.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/typ/test/io.py.diff?r1=1.1.1.1&r2=1.2)