equal
deleted
inserted
replaced
394 else: |
394 else: |
395 itemtypeinfos = typeinfos["itemType"] |
395 itemtypeinfos = typeinfos["itemType"] |
396 |
396 |
397 # Check that item type is a simple type |
397 # Check that item type is a simple type |
398 if itemtypeinfos["type"] != SIMPLETYPE: |
398 if itemtypeinfos["type"] != SIMPLETYPE: |
399 raise ValueError, "Item type given isn't a simpleType!" |
399 raise ValueError("Item type given isn't a simpleType!") |
400 |
400 |
401 simpleType["basename"] = "list" |
401 simpleType["basename"] = "list" |
402 |
402 |
403 # Check that derivation is allowed |
403 # Check that derivation is allowed |
404 if "final" in itemtypeinfos: |
404 if "final" in itemtypeinfos: |