statblk 1.22__tar.gz → 1.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {statblk-1.22 → statblk-1.23}/PKG-INFO +1 -1
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/PKG-INFO +1 -1
- {statblk-1.22 → statblk-1.23}/statblk.py +3 -1
- {statblk-1.22 → statblk-1.23}/README.txt +0 -0
- {statblk-1.22 → statblk-1.23}/setup.cfg +0 -0
- {statblk-1.22 → statblk-1.23}/setup.py +0 -0
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/SOURCES.txt +0 -0
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/dependency_links.txt +0 -0
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/entry_points.txt +0 -0
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/requires.txt +0 -0
- {statblk-1.22 → statblk-1.23}/statblk.egg-info/top_level.txt +0 -0
@@ -276,7 +276,7 @@ except :
|
|
276
276
|
def cache_decorator(func):
|
277
277
|
return func
|
278
278
|
|
279
|
-
version = '1.
|
279
|
+
version = '1.23'
|
280
280
|
VERSION = version
|
281
281
|
__version__ = version
|
282
282
|
COMMIT_DATE = '2025-09-10'
|
@@ -526,6 +526,8 @@ def get_drives_info(print_bytes = False, use_1024 = False, mounted_only=False, b
|
|
526
526
|
if lsblk_result.returncode == 0:
|
527
527
|
for line in lsblk_result.stdout:
|
528
528
|
lsblk_name, lsblk_size, lsblk_fstype, lsblk_uuid, lsblk_label = line.split(' ', 4)
|
529
|
+
if lsblk_name.startswith(os.path.sep):
|
530
|
+
lsblk_name = os.path.realpath(lsblk_name)
|
529
531
|
# the label can be \x escaped, we need to decode it
|
530
532
|
lsblk_uuid = bytes(lsblk_uuid, "utf-8").decode("unicode_escape")
|
531
533
|
lsblk_fstype = bytes(lsblk_fstype, "utf-8").decode("unicode_escape")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|