Coloriser
index
/local_disk/sherwood/RTT/Tools/RunTimeTester/RunTimeTester-00-00-93/src/Coloriser.py

Coloriser returns string of ccolored htm table elements
coloriserMN M- number of colors
            N - number of html table entries
            
Coloriser21 2:two colors (green/red. User gives green string, all others red
            1:always returns 1 table entry
            
Coloriser32 3:three colors (green/red/brown. User gives green string, and red strings
              all others brown
            2: always return with 2 entries (padd if neccessary)

 
Modules
       
logging

 
Classes
       
Coloriser21
Coloriser32

 
class Coloriser21
     Methods defined here:
__init__(self, greenString)
colorise(self, string)

 
class Coloriser32
     Methods defined here:
__init__(self, greenString, redString)
colorise(self, string)

 
Data
        logger = <logging.Logger instance>