Commit 83d75a6b authored by Klaus Aehlig's avatar Klaus Aehlig

Replace additional os.minor by our custom version

...thus avoiding the bug in the python library.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarHrvoje Ribicic <>
parent 232e2a78
...@@ -154,7 +154,7 @@ class ExtStorageDevice(base.BlockDev): ...@@ -154,7 +154,7 @@ class ExtStorageDevice(base.BlockDev):
return False return False
self.major = os.major(st.st_rdev) self.major = os.major(st.st_rdev)
self.minor = os.minor(st.st_rdev) self.minor = utils.osminor(st.st_rdev)
self.attached = True self.attached = True
return True return True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment