From 983d150c96a10c48b6a3148064456656e04f896d Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 23 Apr 2012 10:07:58 -0500 Subject: [PATCH] add name field to .treeinfo its a concatination of family and version --- src/pylorax/treeinfo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pylorax/treeinfo.py b/src/pylorax/treeinfo.py index 18626456..2ff91775 100644 --- a/src/pylorax/treeinfo.py +++ b/src/pylorax/treeinfo.py @@ -37,6 +37,7 @@ class TreeInfo(object): data = {"timestamp": time.time(), "family": product, "version": version, + "name": "%s-%s" % (product, version), "variant": variant or "", "arch": basearch, "packagedir": packagedir}