aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/reqs2tex.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/scripts/reqs2tex.py b/scripts/reqs2tex.py
index 1863b0d..31303ff 100755
--- a/scripts/reqs2tex.py
+++ b/scripts/reqs2tex.py
@@ -15,15 +15,17 @@ class KEY(StrEnum):
DESCRIPTION = 'description'
PRIORITY = 'priority'
-class REQ_TYPE(StrEnum):
- SYSTEM = 'system'
- USER = 'user'
-
-class REQ_PRIORITY(StrEnum):
- MUST = 'must'
- SHOULD = 'should'
- COULD = 'could'
- WONT = 'will not'
+REQ_TYPE = [
+ 'system',
+ 'user',
+]
+
+REQ_PRIORITY = [
+ 'must',
+ 'should',
+ 'could',
+ 'will not',
+]
id_counter = 0
def make_id(item):