From 77949c8d3350212672748195de2035f62b1e914a Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 6 Nov 2014 06:46:21 +0100 Subject: [PATCH] Get rid of continue --- qutebrowser/utils/split.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/qutebrowser/utils/split.py b/qutebrowser/utils/split.py index 0e9a40a26..881d3bc3e 100644 --- a/qutebrowser/utils/split.py +++ b/qutebrowser/utils/split.py @@ -72,12 +72,8 @@ class ShellLexer: if self.keep: self.token += nextchar if self.token or self.quoted: - # emit current token yield self.token self.reset() - continue - else: - continue elif nextchar in self.escape: if self.keep: self.token += nextchar @@ -122,9 +118,6 @@ class ShellLexer: if self.token or self.quoted: yield self.token self.reset() - continue - else: - continue elif nextchar in self.quotes: if self.keep: self.token += nextchar