Permalink
Browse files

Add Python 2.6 support back.

Closes #242.
  • Loading branch information...
1 parent 4bb6dfe commit 3f460fb3e91917fce2480c064c5ae98568b20cfe @wting committed Jan 7, 2014
Showing with 2,385 additions and 19 deletions.
  1. +1 −0 .travis.yml
  2. +0 −4 CHANGES.md
  3. +1 −0 autojump_argparse.py
  4. +3 −3 bin/autojump
  5. +2,363 −0 bin/autojump_argparse.py
  6. +7 −4 bin/autojump_utils.py
  7. +6 −5 install.py
  8. +0 −1 setup.cfg
  9. +1 −0 tests/autojump_argparse.py
  10. +1 −1 tools/autojump_ipython.py
  11. +2 −1 uninstall.py
View
@@ -1,6 +1,7 @@
language: python
python:
+ - 2.6
- 2.7
install:
View
@@ -3,10 +3,6 @@
### Release v22.0.0:
-#### Deprecation
-
-- Python 2.6 EOL'ed Oct 2013, support dropped. Now requires Python 2.7+.
-
#### Backwards Incompatible
- install.sh -> install.py
View
@@ -21,7 +21,6 @@
from __future__ import print_function
-from argparse import ArgumentParser
from difflib import SequenceMatcher
from itertools import chain
from math import sqrt
@@ -39,6 +38,8 @@ else:
from itertools import ifilter
from itertools import imap
+from autojump_argparse import ArgumentParser
+
from autojump_data import dictify
from autojump_data import entriefy
from autojump_data import Entry
@@ -206,7 +207,6 @@ def handle_tab_completion(needle, entries):
TAB_SEPARATOR)
-
def match_anywhere(needles, haystack, ignore_case=False):
"""
Matches needles anywhere in the path as long as they're in the same (but
@@ -334,7 +334,7 @@ def print_stats(data, data_path):
print("\ndata:\t %s" % data_path)
-def main(args):
+def main(args): # noqa
config = set_defaults()
# all arguments are mutually exclusive
Oops, something went wrong. Retry.

0 comments on commit 3f460fb

Please sign in to comment.