mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
modules/inventory/common.py: _normalize_items now strips leading/trailing whitespace from any string-valued item field before persisting an inventory (name, category, subcategory, location, etc.). Non-string values (numbers, None) are left untouched. Closes #52 |
||
|---|---|---|
| .. | ||
| test | ||
| __init__.py | ||
| api.py | ||
| catalog.py | ||
| catalog_defaults.yaml | ||
| common.py | ||
| conftest.py | ||
| defaults.py | ||
| errors.py | ||
| migrate.py | ||
| schema.py | ||