summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-11-06 04:26:15 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2017-11-06 04:26:36 +0100
commit0769281513fe2c8448e74a732358c0cd856e5d3e (patch)
tree22d28e8a464f2697c7c8d35fe7d73616733fa329 /kconfiglib.py
parentc65d0615d1688580fb340b072749622853cccb36 (diff)
Rename _RELATION_TO_STR to _REL_TO_STR
Consistent with e.g. _TOKEN_TO_REL.
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index a9b23ba..d248aba 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3523,7 +3523,7 @@ def expr_str(expr):
# Relation
return "{} {} {}".format(expr_str(expr[1]),
- _RELATION_TO_STR[expr[0]],
+ _REL_TO_STR[expr[0]],
expr_str(expr[2]))
# escape()/unescape() helpers
@@ -4165,7 +4165,7 @@ _TOKEN_TO_REL = {
_T_UNEQUAL: UNEQUAL,
}
-_RELATION_TO_STR = {
+_REL_TO_STR = {
EQUAL: "=",
GREATER: ">",
GREATER_EQUAL: ">=",