Reviewed-on: #83pull/84/head 0.23.2
commit
8ede4f9ee1
|
@ -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/),
|
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).
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [0.23.2] - 2025-07-07
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Improved error reporting in ogCreateCache
|
||||||
|
|
||||||
## [0.23.1] - 2025-07-04
|
## [0.23.1] - 2025-07-04
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -70,7 +70,7 @@ def ogCreateCache (ndsk=1, part=4, sizecache=0):
|
||||||
MINSIZE = 25000
|
MINSIZE = 25000
|
||||||
MAXSIZE = END
|
MAXSIZE = END
|
||||||
if SIZE < MINSIZE or SIZE > MAXSIZE or START < ENDPREVPART:
|
if SIZE < MINSIZE or SIZE > MAXSIZE or START < ENDPREVPART:
|
||||||
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_FORMAT, ndsk)
|
SystemLib.ogRaiseError ([], ogGlobals.OG_ERR_GENERIC, f'size ({SIZE}) < minsize ({MINSIZE}) or size > maxsize ({MAXSIZE}) or start ({START}) < endprevpart ({ENDPREVPART})')
|
||||||
return None
|
return None
|
||||||
|
|
||||||
# Desmontar todos los sistemas de archivos del disco.
|
# Desmontar todos los sistemas de archivos del disco.
|
||||||
|
|
Loading…
Reference in New Issue