[yocto] [PATCH 5/7] Info messages start with upper case
Marius Avram
marius.avram at intel.com
Wed Aug 13 06:32:06 PDT 2014
For consistency sake I modified all the messages to start with
upper case.
Signed-off-by: Marius Avram <marius.avram at intel.com>
---
recipe.py | 2 +-
upgradehelper.py | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipe.py b/recipe.py
index a495b49..e6430cd 100644
--- a/recipe.py
+++ b/recipe.py
@@ -388,7 +388,7 @@ class Recipe(object):
W(" %s: license checksum failed for file %s."
" The recipe has been updated! Diff file located at %s" %
(self.env['PN'], license_file, self.license_diff_file))
- I(" recompiling ...")
+ I(" Recompiling ...")
self.commit_msg += "License checksum changed for file " + license_file
return True
diff --git a/upgradehelper.py b/upgradehelper.py
index ef59661..27de760 100755
--- a/upgradehelper.py
+++ b/upgradehelper.py
@@ -367,20 +367,20 @@ class Updater(object):
attempted_pkgs += 1
I(" ATTEMPT PACKAGE %d/%d" % (attempted_pkgs, total_pkgs))
try:
- I(" %s: upgrading to %s" % (self.pn, self.new_ver))
+ I(" %s: Upgrading to %s" % (self.pn, self.new_ver))
for step, msg in self.upgrade_steps:
if msg is not None:
I(" %s: %s" % (self.pn, msg))
step()
- I(" %s: upgrade SUCCESSFUL! Please test!" % self.pn)
+ I(" %s: Upgrade SUCCESSFUL! Please test!" % self.pn)
error = None
except UpgradeNotNeededError as e:
I(" %s: %s" % (self.pn, e.message))
error = e
except Error as e:
E(" %s: %s" % (self.pn, e.message))
- E(" %s: upgrade FAILED! Logs and/or file diffs are available in %s" % (self.pn, self.workdir))
+ E(" %s: Upgrade FAILED! Logs and/or file diffs are available in %s" % (self.pn, self.workdir))
error = e
self._commit_changes()
--
1.7.9.5
More information about the yocto
mailing list