summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-01-02 15:14:41 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-14 14:42:16 +0000
commit372bcd3c978524fa2ca31e4fe14f288f67562cdb (patch)
tree81a8bbbf8bf754f9891e81ccfdc80ea5e1ec32ac /meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch
parentb70f96a17fc13a74c04fd56e34cdc8f84dbf2f69 (diff)
downloadpoky-372bcd3c978524fa2ca31e4fe14f288f67562cdb.tar.gz
python-smartpm: remove the recipe
(From OE-Core rev: 9ff0e8b4012f1e68f6caebc3027f9d1bada00f13) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch')
-rw-r--r--meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch54
1 files changed, 0 insertions, 54 deletions
diff --git a/meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch b/meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch
deleted file mode 100644
index 9055555cd0..0000000000
--- a/meta/recipes-devtools/python/python-smartpm/smart-already-installed-message.patch
+++ /dev/null
@@ -1,54 +0,0 @@
1From a74a9a9eb9d75964a0e978950e8b191d7a18d763 Mon Sep 17 00:00:00 2001
2From: Paul Eggleton <paul.eggleton@linux.intel.com>
3Date: Fri, 5 Jun 2015 17:07:16 +0100
4Subject: [PATCH] smart: change "is already installed" message from warning to
5 info
6
7This doesn't need to be a warning.
8
9Upstream-Status: Pending
10
11Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
12---
13 smart/commands/install.py | 4 ++--
14 smart/interfaces/text/interactive.py | 2 +-
15 2 files changed, 3 insertions(+), 3 deletions(-)
16
17diff --git a/smart/commands/install.py b/smart/commands/install.py
18index 6ef9682..80d456b 100644
19--- a/smart/commands/install.py
20+++ b/smart/commands/install.py
21@@ -152,7 +152,7 @@ def main(ctrl, opts):
22 for obj in results:
23 for pkg in obj.packages:
24 if pkg.installed:
25- iface.warning(_("%s (for %s) is already installed")
26+ iface.info(_("%s (for %s) is already installed")
27 % (pkg, arg))
28 installed = True
29 break
30@@ -184,7 +184,7 @@ def main(ctrl, opts):
31 for name in names:
32 pkg = names[name][0]
33 if pkg.installed:
34- iface.warning(_("%s is already installed") % pkg)
35+ iface.info(_("%s is already installed") % pkg)
36 else:
37 trans.enqueue(pkg, INSTALL)
38
39diff --git a/smart/interfaces/text/interactive.py b/smart/interfaces/text/interactive.py
40index 9865584..190867b 100644
41--- a/smart/interfaces/text/interactive.py
42+++ b/smart/interfaces/text/interactive.py
43@@ -278,7 +278,7 @@ class Interpreter(Cmd):
44 for name in names:
45 pkg = names[name][0]
46 if pkg.installed:
47- iface.warning(_("%s is already installed") % pkg)
48+ iface.info(_("%s is already installed") % pkg)
49 else:
50 found = True
51 transaction.enqueue(pkg, INSTALL)
52--
532.1.0
54