Ignore:
Timestamp:
01/06/11 20:58:00 (13 years ago)
Author:
atzm
Message:

support to make warrior by parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycodebattler/trunk/pycodebattler/scouter.py

    r71 r85  
    2020def _main_entry(): 
    2121    if len(sys.argv) == 1: 
    22         p = [pycodebattler.warrior.Warrior('stdin', sys.stdin)] 
     22        p = [pycodebattler.warrior.Warrior.make('stdin', sys.stdin)] 
    2323    else: 
    24         p = [pycodebattler.warrior.Warrior( 
     24        p = [pycodebattler.warrior.Warrior.make( 
    2525             pycodebattler.util.path2name(f), open(f)) 
    2626             for f in sys.argv[1:]] 
Note: See TracChangeset for help on using the changeset viewer.