flinventory 0.6.13__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {flinventory-0.6.13 → flinventory-0.7.0}/PKG-INFO +1 -1
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/constant.py +1 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/location.py +3 -1
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/signprinter_latex.py +5 -1
- {flinventory-0.6.13 → flinventory-0.7.0}/pyproject.toml +1 -1
- {flinventory-0.6.13 → flinventory-0.7.0}/LICENSE +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/README.md +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/__init__.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/__main__.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/box.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/datacleanup.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/defaulted_data.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/generate_labels.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/inventory_io.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/sign.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thing.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/.gitignore +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/dummyImage.jpg +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/sign.tex +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-footer.tex +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-header.tex +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signs-example.tex +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/tests/__init__.py +0 -0
- {flinventory-0.6.13 → flinventory-0.7.0}/tests/test_defaulted_data.py +0 -0
@@ -318,7 +318,9 @@ class Location(dict[str, Value]):
|
|
318
318
|
@property
|
319
319
|
def long_name(self):
|
320
320
|
"""Get the string representation with names."""
|
321
|
-
return self.options.
|
321
|
+
return self.options.long_separator.join(
|
322
|
+
str(level.name) for level in self._levels
|
323
|
+
)
|
322
324
|
|
323
325
|
@property
|
324
326
|
def schema(self) -> Schema:
|
@@ -468,7 +468,11 @@ class SignPrinterLaTeX:
|
|
468
468
|
insertions = {
|
469
469
|
"PrimaryName": sanitize_latex_code(german),
|
470
470
|
"SecondaryName": sanitize_latex_code(english),
|
471
|
-
"location": sanitize_latex_code(
|
471
|
+
"location": sanitize_latex_code(
|
472
|
+
str(thing.location.long_name)
|
473
|
+
if thing.sign.get("location_long", False)
|
474
|
+
else str(thing.where)
|
475
|
+
),
|
472
476
|
"height": height,
|
473
477
|
"widthAdjusted": width,
|
474
478
|
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-footer.tex
RENAMED
File without changes
|
{flinventory-0.6.13 → flinventory-0.7.0}/flinventory/thingtemplate_latex/signlist-header.tex
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|