Skip to content

Commit

Permalink
Revert "pyanaconda: storage: workaround for Virtio Block Device being…
Browse files Browse the repository at this point in the history
… displayed as 0x1af4"

This reverts commit 4785219.

Can be reverted once storaged-project/blivet@874f8f5
reaches Rawhide.
  • Loading branch information
KKoukiou committed Nov 20, 2024
1 parent 1176b22 commit b1d2f73
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pyanaconda/modules/storage/devicetree/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,6 @@ def _set_device_data(self, device, data):
# FIXME: We should generate the description from the device data.
data.description = getattr(device, "description", "")

# Workaround for Virtio Block Device being displayed as 0x1af4
# https://github.com/storaged-project/blivet/pull/174
if data.description == "0x1af4":
data.description = _("Virtio Block Device")

data.attrs["serial"] = self._get_attribute(device, "serial")
data.attrs["vendor"] = self._get_attribute(device, "vendor")
data.attrs["model"] = self._get_attribute(device, "model")
Expand Down

0 comments on commit b1d2f73

Please sign in to comment.