summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2023-11-02 14:29:23 +0800
committerKhem Raj <raj.khem@gmail.com>2023-11-02 10:39:36 -0700
commitd6b19d69b285a26b7d7a318ded42b04ccfb0a4a6 (patch)
tree346351b8c1c7cd97cc5e7fd79b2ea5be3479040a /meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
parentde0d5a1e8c83d3cf26d389f6a52244d183df110d (diff)
downloadmeta-openembedded-d6b19d69b285a26b7d7a318ded42b04ccfb0a4a6.tar.gz
python3-blivet: 3.4.3 -> 3.8.2
Update python3-blivet 3.4.3 to 3.8.2 * drop 0004-fix-new.roots-object-is-not-iterable.patch which is not needed any more * adjust indent as well Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch')
-rw-r--r--meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
deleted file mode 100644
index 526a3b1fb2..0000000000
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0004-fix-new.roots-object-is-not-iterable.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 3bb8d08bdec2f79bb13c0a44b81718d26e5bdabc Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 8 May 2017 16:30:20 +0800
4Subject: [PATCH 04/11] fix new.roots object is not iterable
5
6Upstream-Status: Pending
7
8Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
9---
10 blivet/blivet.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/blivet/blivet.py b/blivet/blivet.py
14index ea08837..91c92b2 100644
15--- a/blivet/blivet.py
16+++ b/blivet/blivet.py
17@@ -1206,7 +1206,7 @@ class Blivet(object):
18 p = partition.disk.format.parted_disk.getPartitionByPath(partition.path)
19 partition.parted_partition = p
20
21- for root in new.roots:
22+ for root in new.roots or []:
23 root.swaps = [new.devicetree.get_device_by_id(d.id, hidden=True) for d in root.swaps]
24 root.swaps = [s for s in root.swaps if s]
25
26--
272.7.4
28