Changeset 13277 in genesis for tools/gformat.py


Ignore:
Timestamp:
Jun 13, 2015, 7:36:06 PM (10 years ago)
Author:
rick
Message:

root node is a dummy node, so ignore at parent listings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/gformat.py

    r13276 r13277  
    18751875        hostgroups            srv_hybrid,%(monitoring_group)s\
    18761876''' % datadump
    1877         if len(parents[datadump['autogen_fqdn']]) > 0:
     1877        if (len(parents[datadump['autogen_fqdn']]) > 0) and parents[datadump['autogen_fqdn']][0] != 'root':
    18781878          print '''\
    18791879        parents               %(parents)s\
Note: See TracChangeset for help on using the changeset viewer.