Changeset 806 for tester


Ignore:
Timestamp:
06/09/18 15:50:46 (7 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester/globals.py

    r798 r806  
    1313                        try:
    1414                                from colorama import init, Fore, Style  # Fore and Style are here just to get ansi codes to control color and brightness
    15                                 # print repr(Fore.GREEN)
    16                                 # print repr(Fore.RED)
    17                                 # print repr(Fore.RESET)
    18                                 # print repr(Style.BRIGHT)
    1915                        except ImportError:
    2016                                print("The colorama module not available - there will be no ansi stdout colors")
    2117                                ANSI_SETGREEN = ANSI_SETRED = ANSI_RESET = ''
    2218                        else:
    23                                 init()
     19                                init()  # from colorama
     20                                # print repr(Fore.GREEN) # print sample ansi codes (just for debugging/curiosity)
     21                                # print repr(Fore.RED)
     22                                # print repr(Fore.RESET)
     23                                # print repr(Style.BRIGHT)
    2424
    2525
     
    3535# no longer assuming any specific directory layout, use -tp/-wp/-fp to configure as needed
    3636THISDIR = "."  # -tp
    37 EXEDIR = "."   # -wp
    38 FILESDIR = "." # -fp
     37EXEDIR = "."  # -wp
     38FILESDIR = "."  # -fp
    3939
    4040# special ways of comparison, to be used in 'out' lines
     
    5353# You could also set -Ddata to activate the mode with no splitfilesys.
    5454EXENAMES = {"default": ["frams.exe", "-ddata", "-Demptydata", "-Q", "-s"],
    55                         "teatr": ["theater.exe", "-ddata", "-Demptydata", "-Q", "st"]}
     55                        "theater": ["theater.exe", "-ddata", "-Demptydata", "-Q", "st"]}
    5656
    5757EXERULES = []
Note: See TracChangeset for help on using the changeset viewer.