X-Git-Url: https://arthur.barton.de/gitweb/?a=blobdiff_plain;f=lib%2Fbup%2Fshquote.py;h=ed070c5cba9e288c112ac80f71dbe31ce34345aa;hb=a71add409c4f15e58aa99fbd443b9e0bb2737123;hp=829f3f3477e26225e1d460249965307eeaf7a1dd;hpb=77b44edd72a07505cfa0808fc6a0ac4306ae6306;p=bup.git diff --git a/lib/bup/shquote.py b/lib/bup/shquote.py index 829f3f3..ed070c5 100644 --- a/lib/bup/shquote.py +++ b/lib/bup/shquote.py @@ -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