diff options
Diffstat (limited to 'mirrorselect/configs.py')
-rw-r--r-- | mirrorselect/configs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py index df718f6..4cba14f 100644 --- a/mirrorselect/configs.py +++ b/mirrorselect/configs.py @@ -81,6 +81,8 @@ def write_make_conf(output, config_path, var, mirror_string): lex.quotes = "\"'" while True: key = lex.get_token() + if key is None: + break if key == var: begin_line = lex.lineno |