]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/shquote.py
pylint: enable consider-using-in
[bup.git] / lib / bup / shquote.py
index 829f3f3477e26225e1d460249965307eeaf7a1dd..ed070c5cba9e288c112ac80f71dbe31ce34345aa 100644 (file)
@@ -32,7 +32,7 @@ def _quotesplit(line):
             yield (wordstart, word)
             word = b''
             wordstart = i+1
-        elif not inquote and not word and (c == q or c == qq):
+        elif not inquote and not word and c in (q, qq):
             # the 'not word' constraint on this is un-sh-like, but do it
             # for sanity when autocompleting
             inquote = c