Skip to contentSkip to conversation

cooker: Clarify package/recipe wording

PATCH In review Trevor Woerner 2 participants 3 messages Sep 19, 2012 – Sep 20, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cooker: Clarify package/recipe wording

From: Trevor Woerner <[email protected]>

When the '-s' option is run, change the heading above the list of recipes to say "Recipe Name" instead of "Package Name".

---
 lib/bb/cooker.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
lib/bb/cooker.py +2 -2
index 237019c..b281cd0 100644
@@ -278,8 +278,8 @@ class BBCooker:
         pkg_pn = self.status.pkg_pn
         (latest_versions, preferred_versions) = bb.providers.findProviders(self.configuration.data, self.status, pkg_pn)
 
-        logger.plain("%-35s %25s %25s", "Package Name", "Latest Version", "Preferred Version")
-        logger.plain("%-35s %25s %25s\n", "============", "==============", "=================")
+        logger.plain("%-35s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version")
+        logger.plain("%-35s %25s %25s\n", "===========", "==============", "=================")
 
         for p in sorted(pkg_pn):
             pref = preferred_versions[p]
Signature · 1 line
1.7.10.GIT
#1 lore raw
Quoted 9 lines · Trevor Woerner

From: Trevor Woerner <[email protected]>

When the '-s' option is run, change the heading above the list of recipes to say "Recipe Name" instead of "Package Name".

---
 lib/bb/cooker.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Good catch, we need to fix these up! Merged to master, thanks.

Richard