refs #2238 support None as partition type

pull/63/head
Natalia Serrano 2025-06-19 11:39:58 +02:00
parent d5fe20d291
commit 6d5dea6657
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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: