Show
Ignore:
Timestamp:
05/29/08 01:31:18 (22 months ago)
Author:
Manu Sporny <msporny@…>
Parents:
9a70584316b31e0565f09986dbcf89a6927656b1
Children:
39bb268fdd40fe16223dbaaeb07e5eaeac0d7ab0, 40f42894c8a7c1244c4b137358eac188bcb94625
git-committer:
Manu Sporny <msporny@digitalbazaar.com> / 2008-05-29T01:31:18Z-0400
Message:

Fixed the last remaining Test Case bug that was causing TC#105 and
TC#106 to fail.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/rdfa2rdfxml.py

    r9a70584 r8adf69f  
    116116    rval += " ]" 
    117117 
    118     processed.append(triples[0][0]) 
     118    if(len(triples) < 1): 
     119        rval = "[ ]" 
     120    else: 
     121        processed.append(triples[0][0]) 
    119122 
    120123    return rval