1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Indentation got munged, fix it.

This commit is contained in:
Stephen Blott 2014-03-31 16:48:16 +01:00
parent f9aec5f269
commit 97b7e755a6

View File

@ -402,7 +402,7 @@ def main(args): # noqa
TAB_SEPARATOR_LENGTH = len(TAB_SEPARATOR) TAB_SEPARATOR_LENGTH = len(TAB_SEPARATOR)
clean_needles = [ (needle[:-TAB_SEPARATOR_LENGTH] if needle.endswith(TAB_SEPARATOR) else needle) for needle in needles ] clean_needles = [ (needle[:-TAB_SEPARATOR_LENGTH] if needle.endswith(TAB_SEPARATOR) else needle) for needle in needles ]
print_local(first(chain( print_local(first(chain(
imap(attrgetter('path'), find_matches(entries, clean_needles )), imap(attrgetter('path'), find_matches(entries, clean_needles)),
# always return a path to calling shell functions # always return a path to calling shell functions
['.']))) ['.'])))