代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/anaconda 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 765938409daeeacf1faf3c2695c68a85f0b30b4d Mon Sep 17 00:00:00 2001
From: s30028044 <sunhai10@huawei.com>
Date: Wed, 28 Feb 2024 11:33:54 +0800
Subject: [PATCH] import new BlockDev
---
pyanaconda/modules/storage/checker/utils.py | 2 +-
pyanaconda/modules/storage/dasd/discover.py | 2 +-
pyanaconda/modules/storage/dasd/format.py | 2 +-
pyanaconda/modules/storage/devicetree/fsset.py | 2 +-
pyanaconda/modules/storage/initialization.py | 2 +-
pyanaconda/modules/storage/installation.py | 2 +-
pyanaconda/modules/storage/nvdimm/nvdimm.py | 2 +-
pyanaconda/modules/storage/zfcp/discover.py | 2 +-
8 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/pyanaconda/modules/storage/checker/utils.py b/pyanaconda/modules/storage/checker/utils.py
index 9ccd398..74aedae 100644
--- a/pyanaconda/modules/storage/checker/utils.py
+++ b/pyanaconda/modules/storage/checker/utils.py
@@ -16,7 +16,7 @@
# Red Hat, Inc.
#
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
from collections import defaultdict
diff --git a/pyanaconda/modules/storage/dasd/discover.py b/pyanaconda/modules/storage/dasd/discover.py
index 06e3b39..d1de38e 100644
--- a/pyanaconda/modules/storage/dasd/discover.py
+++ b/pyanaconda/modules/storage/dasd/discover.py
@@ -18,7 +18,7 @@
# Red Hat, Inc.
#
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
from pyanaconda.core.regexes import DASD_DEVICE_NUMBER
diff --git a/pyanaconda/modules/storage/dasd/format.py b/pyanaconda/modules/storage/dasd/format.py
index 7ae389b..48d5c46 100644
--- a/pyanaconda/modules/storage/dasd/format.py
+++ b/pyanaconda/modules/storage/dasd/format.py
@@ -21,7 +21,7 @@ from pyanaconda.modules.common.task import Task
from pyanaconda.anaconda_loggers import get_module_logger
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
log = get_module_logger(__name__)
diff --git a/pyanaconda/modules/storage/devicetree/fsset.py b/pyanaconda/modules/storage/devicetree/fsset.py
index 0d151d3..4db3759 100644
--- a/pyanaconda/modules/storage/devicetree/fsset.py
+++ b/pyanaconda/modules/storage/devicetree/fsset.py
@@ -20,7 +20,7 @@ import shutil
import time
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
from blivet.devices import NoDevice, DirectoryDevice, NFSDevice, FileDevice, MDRaidArrayDevice, \
diff --git a/pyanaconda/modules/storage/initialization.py b/pyanaconda/modules/storage/initialization.py
index bb5ad24..17b8274 100644
--- a/pyanaconda/modules/storage/initialization.py
+++ b/pyanaconda/modules/storage/initialization.py
@@ -26,7 +26,7 @@ from pyanaconda.anaconda_logging import program_log_lock
from pyanaconda.core.configuration.anaconda import conf
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
__all__ = ["enable_installer_mode"]
diff --git a/pyanaconda/modules/storage/installation.py b/pyanaconda/modules/storage/installation.py
index 05d91f3..8f82734 100644
--- a/pyanaconda/modules/storage/installation.py
+++ b/pyanaconda/modules/storage/installation.py
@@ -36,7 +36,7 @@ from pyanaconda.modules.common.errors.installation import StorageInstallationErr
from pyanaconda.modules.common.task import Task
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
log = get_module_logger(__name__)
diff --git a/pyanaconda/modules/storage/nvdimm/nvdimm.py b/pyanaconda/modules/storage/nvdimm/nvdimm.py
index f9aef8b..1aa6295 100644
--- a/pyanaconda/modules/storage/nvdimm/nvdimm.py
+++ b/pyanaconda/modules/storage/nvdimm/nvdimm.py
@@ -32,7 +32,7 @@ from pyanaconda.modules.storage.nvdimm.nvdimm_interface import NVDIMMInterface
from pyanaconda.modules.storage.nvdimm.reconfigure import NVDIMMReconfigureTask
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
log = get_module_logger(__name__)
diff --git a/pyanaconda/modules/storage/zfcp/discover.py b/pyanaconda/modules/storage/zfcp/discover.py
index 231e097..796f7c5 100644
--- a/pyanaconda/modules/storage/zfcp/discover.py
+++ b/pyanaconda/modules/storage/zfcp/discover.py
@@ -18,7 +18,7 @@
# Red Hat, Inc.
#
import gi
-gi.require_version("BlockDev", "2.0")
+gi.require_version("BlockDev", "3.0")
from gi.repository import BlockDev as blockdev
from blivet.zfcp import zfcp
--
2.27.0
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。