Changeset 2388 for 2011


Ignore:
Timestamp:
2011-07-01 09:28:44 (8 years ago)
Author:
tekrjant
Message:

virheen tarkistusta.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/write_report.py

    r2387 r2388  
    3737""" 
    3838 
     39 
     40def check_requirements(): 
     41        if not exists("build"): 
     42                raise Exception("Directory build not found. Run build_games.py first!") 
    3943 
    4044def addElement(parent, name): 
     
    100104        try: 
    101105                while True: 
     106                        check_requirements() 
    102107                        initialize_report() 
    103108                        write_results() 
Note: See TracChangeset for help on using the changeset viewer.