[elbe-devel] [PATCH 01/10] elbexml: make Validationmode a proper enum
Torben Hohn
torben.hohn at linutronix.de
Mon Apr 8 15:42:22 CEST 2019
pylint complains about different types being assigned to url_validation.
Fix that up.
Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
---
elbepack/elbexml.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/elbepack/elbexml.py b/elbepack/elbexml.py
index 26786c3c..97536af7 100644
--- a/elbepack/elbexml.py
+++ b/elbepack/elbexml.py
@@ -45,9 +45,9 @@ class NoInitvmNode(Exception):
class ValidationMode(object):
- NO_CHECK = True
+ NO_CHECK = 1
CHECK_BINARIES = 2
- CHECK_ALL = False
+ CHECK_ALL = 0
class ElbeXML(object):
--
2.11.0
More information about the elbe-devel
mailing list