From ffc76b2a5ccac909832126818e1ad35fd0375d1b Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 20 Dec 2015 17:39:36 +0100 Subject: [PATCH] Fix spelling. --- qutebrowser/utils/urlutils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qutebrowser/utils/urlutils.py b/qutebrowser/utils/urlutils.py index c8917efe5..780bc3e1f 100644 --- a/qutebrowser/utils/urlutils.py +++ b/qutebrowser/utils/urlutils.py @@ -63,17 +63,17 @@ def _parse_search_term(s): A (engine, term) tuple, where engine is None for the default engine. """ s = s.strip() - splitted = s.split(maxsplit=1) + split = s.split(maxsplit=1) - if len(splitted) == 2: - engine = splitted[0] + if len(split) == 2: + engine = split[0] try: config.get('searchengines', engine) except configexc.NoOptionError: engine = None term = s else: - term = splitted[1] + term = split[1] else: engine = None term = s