refs #2238 support None as partition type
parent
d5fe20d291
commit
6d5dea6657
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.18.2] - 2025-06-19
|
||||
|
||||
### Fixed
|
||||
|
||||
- Accept None as partition type
|
||||
|
||||
## [0.18.1] - 2025-06-18
|
||||
|
||||
### Fixed
|
||||
|
|
|
@ -112,6 +112,7 @@ def ogCreatePartitions (disk, parts):
|
|||
|
||||
# Leer formato de cada parámetro - Tipo:Tamaño
|
||||
TYPE, SIZE = p.split (':')
|
||||
if TYPE is None or 'None' == TYPE: TYPE='EMPTY'
|
||||
try:
|
||||
SIZE = int (SIZE)
|
||||
except ValueError:
|
||||
|
|
Loading…
Reference in New Issue