civics-cdf-validator 1.66.dev1__tar.gz → 1.66.dev3__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.
- {civics_cdf_validator-1.66.dev1/civics_cdf_validator.egg-info → civics_cdf_validator-1.66.dev3}/PKG-INFO +1 -1
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3/civics_cdf_validator.egg-info}/PKG-INFO +1 -1
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/rules.py +1 -1
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/version.py +1 -1
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/CONTRIBUTING.md +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/LICENSE-2.0.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/MANIFEST.in +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/README.md +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/__init__.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/base.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/civics_cdf_validator.egg-info/SOURCES.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/civics_cdf_validator.egg-info/dependency_links.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/civics_cdf_validator.egg-info/entry_points.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/civics_cdf_validator.egg-info/requires.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/civics_cdf_validator.egg-info/top_level.txt +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/gpunit_rules.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/loggers.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/office_utils.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/setup.cfg +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/setup.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/stats.py +0 -0
- {civics_cdf_validator-1.66.dev1 → civics_cdf_validator-1.66.dev3}/validator.py +0 -0
|
@@ -432,7 +432,7 @@ class EmptyString(base.BaseRule):
|
|
|
432
432
|
|
|
433
433
|
# pylint: disable=g-explicit-length-test
|
|
434
434
|
def check(self, element):
|
|
435
|
-
if element.text is None or not element.text.strip() and not len(element):
|
|
435
|
+
if (element.text is None or not element.text.strip()) and not len(element):
|
|
436
436
|
raise loggers.ElectionError.from_message(
|
|
437
437
|
"String field is empty", [element]
|
|
438
438
|
)
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|