Changeset 85 for pycodebattler/trunk/pycodebattler/scouter.py
- Timestamp:
- 01/06/11 20:58:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodebattler/trunk/pycodebattler/scouter.py
r71 r85 20 20 def _main_entry(): 21 21 if len(sys.argv) == 1: 22 p = [pycodebattler.warrior.Warrior ('stdin', sys.stdin)]22 p = [pycodebattler.warrior.Warrior.make('stdin', sys.stdin)] 23 23 else: 24 p = [pycodebattler.warrior.Warrior (24 p = [pycodebattler.warrior.Warrior.make( 25 25 pycodebattler.util.path2name(f), open(f)) 26 26 for f in sys.argv[1:]]
Note: See TracChangeset
for help on using the changeset viewer.