Sections
Timeline
View Tickets
New Ticket
Sub-Sections
Download
Unified Diff
Zip Archive
Metanav
Preferences
About Trac
Links
Slowchop Studios
Gerald Kaszuba
Advertisement

Changeset 44

Show
Ignore:
Timestamp:
24/06/07 05:40:28 (17 months ago)
Author:
gak
Message:

changed node_color and edge_color to their English counterpart.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pycallgraph.py

    r41 r44  
    7474       'color': '%(col)s', 
    7575    }, 
    76     'node_color': colourize_node, 
    77     'edge_color': colourize_edge, 
     76    'node_colour': colourize_node, 
     77    'edge_colour': colourize_edge, 
    7878    'dont_exclude_anything': False, 
    7979} 
     
    277277    for func, hits in func_count.items(): 
    278278        calls_frac, total_time_frac, total_time = frac_calculation(func, hits) 
    279         col = settings['node_color'](calls_frac, total_time_frac) 
     279        col = settings['node_colour'](calls_frac, total_time_frac) 
    280280        attribs = ['%s="%s"' % a for a in settings['node_attributes'].items()] 
    281281        node_str = '"%s" [%s];' % (func, ','.join(attribs)) 
     
    287287            calls_frac, total_time_frac, totla_time = \ 
    288288                frac_calculation(to_key, to_val) 
    289             col = settings['edge_color'](calls_frac, total_time_frac) 
     289            col = settings['edge_colour'](calls_frac, total_time_frac) 
    290290            edge = '[ color = "%s" ]' % col 
    291291            ret.append('"%s"->"%s" %s' % (fr_key, to_key, edge))