##// END OF EJS Templates
Don't use the system pretty......
Don't use the system pretty... ... because upstream pretty does not (yet?) incorporate the changes to the local _pretty. Signed-off-by: Thomas Spura <tomspur@fedoraproject.org>

File last commit:

r3408:261328d5
r3411:67f9fe72
Show More
__init__.py
12 lines | 527 B | text/x-python | PythonLexer
try:
import argparse
# Workaround an argparse bug, FIXED in argparse 1.1.0
if 'RawTextHelpFormatterArgumentDefaultsHelpFormatter' in argparse.__all__:
import itertools
argparse.__all__ = list(itertools.chain( [i for i in argparse.__all__
if i != 'RawTextHelpFormatterArgumentDefaultsHelpFormatter'],
['RawTextHelpFormatter', 'ArgumentDefaultsHelpFormatter']))
argparse.__all__.append('SUPPRESS')
from argparse import *
except ImportError:
from _argparse import *