mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
move argparse
This commit is contained in:
parent
6ce1790e8f
commit
74674269b1
10
bin/autojump
10
bin/autojump
@ -33,13 +33,9 @@ import shutil
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
try:
|
||||
import argparse
|
||||
except ImportError:
|
||||
# Python 2.6 support
|
||||
sys.path.append(os.path.dirname(os.path.realpath(__file__)))
|
||||
import autojump_argparse as argparse
|
||||
sys.path.pop()
|
||||
# Include our own copy of argparse for Python 2.6 support
|
||||
from lib import argparse
|
||||
|
||||
|
||||
class Database:
|
||||
"""
|
||||
|
0
bin/lib/__init__.py
Normal file
0
bin/lib/__init__.py
Normal file
2362
bin/lib/argparse.py
Normal file
2362
bin/lib/argparse.py
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user