diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2011-01-22 09:05:34 -0600 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2011-01-22 09:05:34 -0600 |
commit | 137113ac0b53df7acfb5dab9eb8ee3ba04ebca8f (patch) | |
tree | a0af6606bbe9f350f4e921a071378d60ebdf25a5 /src/lib/Server | |
parent | e4b529d1050e9bb9e81d8477ff08300bbc60c1e9 (diff) | |
download | bcfg2-137113ac0b53df7acfb5dab9eb8ee3ba04ebca8f.tar.gz bcfg2-137113ac0b53df7acfb5dab9eb8ee3ba04ebca8f.tar.bz2 bcfg2-137113ac0b53df7acfb5dab9eb8ee3ba04ebca8f.zip |
Probes: Order stored items in probed.xml (Resolves Ticket #982)
Diffstat (limited to 'src/lib/Server')
-rw-r--r-- | src/lib/Server/Plugins/Probes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Probes.py b/src/lib/Server/Plugins/Probes.py index c00185732..7ffc65bac 100644 --- a/src/lib/Server/Plugins/Probes.py +++ b/src/lib/Server/Plugins/Probes.py @@ -73,7 +73,7 @@ class Probes(Bcfg2.Server.Plugin.Plugin, def write_data(self): """Write probe data out for use with bcfg2-info.""" top = lxml.etree.Element("Probed") - for client, probed in self.probedata.iteritems(): + for client, probed in sorted(self.probedata.items()): cx = lxml.etree.SubElement(top, 'Client', name=client) for probe in probed: lxml.etree.SubElement(cx, 'Probe', name=probe, |