Changeset 4284:73aac78170b7 in livinglogic.python.xist for src/ll/xist/scripts/dtd2xsc.py

Show
Ignore:
Timestamp:
01/19/11 17:26:52 (9 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Rename function to something more appropriate.

Files:
1 modified

Legend:

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

    r4278 r4284  
    157157 
    158158 
    159 def stream2xnd(urls, xmlns, shareattrs, duplicates): 
     159def urls2xnd(urls, xmlns, shareattrs, duplicates): 
    160160    ns = xnd.Module() 
    161161    with url.Context(): 
     
    187187 
    188188    args = p.parse_args(args) 
    189     print stream2xnd(args.urls, args.xmlns, args.shareattrs, args.duplicates).aspy(model=args.model, defaults=args.defaults) 
     189    print urls2xnd(args.urls, args.xmlns, args.shareattrs, args.duplicates).aspy(model=args.model, defaults=args.defaults) 
    190190 
    191191