From 01d3b13b1123cdc80516f9d06821133fde1c8707 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 6 Jun 2015 05:55:23 +0200 Subject: s/value/val/ in string parsing. For consistency. --- kconfiglib.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index fc5d14f..9ed81ea 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -712,7 +712,7 @@ class Config(object): # Slow path: This could probably be sped up, but it's a # very unusual case anyway. quote = c - value = "" + val = "" while 1: if i >= len(s): _tokenization_error(s, filename, linenr) @@ -722,13 +722,13 @@ class Config(object): if c == "\\": if i + 1 >= len(s): _tokenization_error(s, filename, linenr) - value += s[i + 1] + val += s[i + 1] i += 2 else: - value += c + val += c i += 1 i += 1 - append(value) + append(val) else: # Fast path: If the string contains no backslashes (almost # always) we can simply look for the matching quote. -- cgit v1.2.3