Changeset 6118


Ignore:
Timestamp:
Jan 6, 2009, 9:58:20 AM (10 years ago)
Author:
ole
Message:

Cosmetics in dependency graph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/dependency_graphs/anuga_depgraph2dot.py

    r6115 r6118  
    3939           
    4040            if s.startswith('anuga.config'): return True # Except config.py
     41            if s == 'anuga': return True # Except the anuga root itself
    4142           
    4243            sys.stderr.write('Draw dependency to %s\n' % s)
     
    7374        # Remove leading 'anuga' in label
    7475        I = s.split('.')
    75         if I[0] == 'anuga':
    76             I = I[1:]
     76       
     77        if len(I) > 1:
     78            if I[0] == 'anuga':
     79                I = I[1:]
    7780       
    7881        return '\\.\\n'.join(I)
Note: See TracChangeset for help on using the changeset viewer.