Ticket #867: Metadata.py.patch
File Metadata.py.patch, 683 bytes (added by https://www.google.com/accounts/o8/id?id=AItOawkfar6gGD3PuUixQdEZQyRr2mpowLW1A70, 13 years ago) |
---|
-
/usr/share/python-support/bcfg2-server/Bcfg2/Server/Plugins/Metadata.py
old new 723 723 def viz(self, hosts, bundles, key, colors): 724 724 '''admin mode viz support''' 725 725 groups_tree = lxml.etree.parse(self.data + "/groups.xml") 726 try: 727 groups_tree.xinclude() 728 except lxml.etree.XIncludeError: 729 self.logger.error("Failed to process XInclude for file %s" % dest) 726 730 groups = groups_tree.getroot() 727 731 categories = {'default':'grey83'} 728 732 instances = {}