Changeset 4114:bfe109b733a1 in livinglogic.python.xist for src/ll/xist/scripts/xml2xsc.py

Show
Ignore:
Timestamp:
09/23/10 16:57:41 (9 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Use autonumbered format specifiers.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/xml2xsc.py

    r4113 r4114  
    107107                    entry[0].modelargs = elements 
    108108    else: 
    109         raise ValueError("unknown sims mode {0!r}".format(model)) 
     109        raise ValueError("unknown sims mode {!r}".format(model)) 
    110110    return ns 
    111111 
     
    119119        node = etree.parse(stream).getroot() 
    120120    else: 
    121         raise ValueError("unknown parser {0!r}".format(parser)) 
     121        raise ValueError("unknown parser {!r}".format(parser)) 
    122122 
    123123    return etree2xnd(model, node)