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

move argparse

This commit is contained in:
William Ting 2013-07-13 19:50:39 -05:00
parent 6ce1790e8f
commit 74674269b1
3 changed files with 2365 additions and 7 deletions

View File

@ -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
View File

2362
bin/lib/argparse.py Normal file

File diff suppressed because it is too large Load Diff