Bläddra i källkod

add todo

pull/185/head
William Ting 10 år sedan
förälder
incheckning
9db8c4feb3
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. +1
    -0
      bin/autojump

+ 1
- 0
bin/autojump Visa fil

@ -162,6 +162,7 @@ def detect_smartcase(needles):
def find_matches(entries, needles, check_entries=True):
"""Return an iterator to matching entries."""
# TODO(wting|2014-02-24): replace assertion with unit test
assert isinstance(needles, list), "Needles must be a list."
ignore_case = detect_smartcase(needles)

Laddar…
Avbryt
Spara