This commit is contained in:
Jakob Kramer 2012-04-28 14:18:59 +02:00
parent bced559496
commit d89eeb0796
3 changed files with 9 additions and 4 deletions

View File

@ -3,15 +3,19 @@ CLI argument parsing logic.
""" """
import os import os
import json
import re import re
import json
import argparse
from collections import namedtuple from collections import namedtuple
try: try:
from collections import OrderedDict from collections import OrderedDict
except ImportError: except ImportError:
OrderedDict = dict OrderedDict = dict
import argparse
from requests.structures import CaseInsensitiveDict from requests.structures import CaseInsensitiveDict
from . import __version__ from . import __version__

View File

@ -4,10 +4,10 @@ import json
import pygments import pygments
from pygments.util import ClassNotFound from pygments.util import ClassNotFound
from pygments.styles import get_style_by_name, STYLE_MAP
from pygments.lexers import get_lexer_for_mimetype, HttpLexer from pygments.lexers import get_lexer_for_mimetype, HttpLexer
from pygments.formatters.terminal256 import Terminal256Formatter from pygments.formatters.terminal256 import Terminal256Formatter
from pygments.formatters.terminal import TerminalFormatter from pygments.formatters.terminal import TerminalFormatter
from pygments.styles import get_style_by_name, STYLE_MAP
from . import solarized from . import solarized

View File

@ -27,7 +27,8 @@ THE SOFTWARE.
""" """
from pygments.style import Style from pygments.style import Style
from pygments.token import Token, Comment, Name, Keyword, Generic, Number, Operator, String from pygments.token import (Token, Comment, Name, Keyword, Generic, Number,
Operator, String)
BASE03 = '#002B36' BASE03 = '#002B36'