1
0
mirror of https://github.com/wting/autojump synced 2024-09-28 22:10:45 +00:00
Commit Graph

1 Commits

Author SHA1 Message Date
Daniel Hahler
4382116b55 Vendorize argparse
This adds the argparse library [1] as autojump_argparse and imports it
via sys.path mangling in case argparse does not exist (Python 2.6 or
below without argparse installed).

This makes autojump effectively work with Python 2.6 again by default.

I have not verified license compatibility, but given the intention of
the (backport) project this is likely OK (it is licensed under the
Python license).

1: http://code.google.com/p/argparse/

Fixes issue #121.
2012-09-26 22:04:45 +02:00