summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Server/Plugins/Packages.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Packages.py b/src/lib/Server/Plugins/Packages.py
index c1924350b..a4ce88ae2 100644
--- a/src/lib/Server/Plugins/Packages.py
+++ b/src/lib/Server/Plugins/Packages.py
@@ -499,7 +499,9 @@ class Packages(Bcfg2.Server.Plugin.Plugin,
if unknown:
self.logger.info("Got unknown entries")
self.logger.info(list(unknown))
- for pkg in packages.difference(initial):
+ newpkgs = list(packages.difference(initial))
+ newpkgs.sort()
+ for pkg in newpkgs:
lxml.etree.SubElement(news, 'BoundPackage', name=pkg,
type=ptype, version='auto', origin='Packages')
structures.append(news)