diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 04:26:15 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-06 04:26:36 +0100 |
| commit | 0769281513fe2c8448e74a732358c0cd856e5d3e (patch) | |
| tree | 22d28e8a464f2697c7c8d35fe7d73616733fa329 | |
| parent | c65d0615d1688580fb340b072749622853cccb36 (diff) | |
Rename _RELATION_TO_STR to _REL_TO_STR
Consistent with e.g. _TOKEN_TO_REL.
| -rw-r--r-- | kconfiglib.py | 4 |
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: ">=", |
