diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2017-01-02 15:14:41 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-14 14:42:16 +0000 |
commit | 372bcd3c978524fa2ca31e4fe14f288f67562cdb (patch) | |
tree | 81a8bbbf8bf754f9891e81ccfdc80ea5e1ec32ac /meta/recipes-devtools/python/python-smartpm/smart-locale.patch | |
parent | b70f96a17fc13a74c04fd56e34cdc8f84dbf2f69 (diff) | |
download | poky-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-locale.patch')
-rw-r--r-- | meta/recipes-devtools/python/python-smartpm/smart-locale.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/meta/recipes-devtools/python/python-smartpm/smart-locale.patch b/meta/recipes-devtools/python/python-smartpm/smart-locale.patch deleted file mode 100644 index 0f1dfb91d5..0000000000 --- a/meta/recipes-devtools/python/python-smartpm/smart-locale.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | rpm or commands run by rpm can use output which isn't strictly acsii such | ||
2 | as quotation characters around expression which are character 0xe2. | ||
3 | |||
4 | Use utf-8 as an encoding rather than whatever the system suggests to | ||
5 | ensure smart copes with this rather than erroring with unicode errors. | ||
6 | |||
7 | RP 2016/5/19 | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | |||
11 | Index: git/smart/backends/rpm/pm.py | ||
12 | =================================================================== | ||
13 | --- git.orig/smart/backends/rpm/pm.py | ||
14 | +++ git/smart/backends/rpm/pm.py | ||
15 | @@ -32,11 +32,7 @@ from smart.pm import PackageManager | ||
16 | from smart import sysconf, iface, Error, _ | ||
17 | |||
18 | |||
19 | -try: | ||
20 | - ENCODING = locale.getpreferredencoding() | ||
21 | -except locale.Error: | ||
22 | - ENCODING = "ascii" | ||
23 | - | ||
24 | +ENCODING = "utf-8" | ||
25 | |||
26 | def get_public_key(header): | ||
27 | return header.sprintf("%|DSAHEADER?{%{DSAHEADER:pgpsig}}:" | ||