| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -33,25 +33,20 @@ | |||
| 33 | 33 | import traceback | |
| 34 | 34 | import re | |
| 35 | 35 | import time | |
| 36 | - import urllib | ||
| 37 | 36 | import rlcompleter | |
| 38 | 37 | import inspect | |
| 39 | 38 | import signal | |
| 40 | 39 | import struct | |
| 41 | 40 | import termios | |
| 42 | 41 | import fcntl | |
| 43 | - import string | ||
| 44 | - import socket | ||
| 45 | 42 | import pydoc | |
| 46 | 43 | import unicodedata | |
| 47 | 44 | import textwrap | |
| 48 | - from cStringIO import StringIO | ||
| 49 | 45 | from itertools import takewhile | |
| 50 | 46 | from locale import LC_ALL, getpreferredencoding, setlocale | |
| 51 | 47 | from optparse import OptionParser | |
| 52 | 48 | from urlparse import urljoin | |
| 53 | 49 | from xmlrpclib import ServerProxy, Error as XMLRPCError | |
| 54 | - from ConfigParser import ConfigParser, NoSectionError, NoOptionError | ||
| 55 | 50 | ||
| 56 | 51 | # These are used for syntax hilighting. | |
| 57 | 52 | from pygments import format | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | 1 | import os | |
| 2 | 2 | import sys | |
| 3 | - from ConfigParser import ConfigParser, NoSectionError, NoOptionError | ||
| 3 | + from ConfigParser import ConfigParser | ||
| 4 | 4 | from itertools import chain | |
| 5 | 5 | from bpython.keys import key_dispatch | |
| 6 | 6 | import errno | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,10 +24,9 @@ | |||
| 24 | 24 | # Pygments really kicks ass, it made it really easy to | |
| 25 | 25 | # get the exact behaviour I wanted, thanks Pygments.:) | |
| 26 | 26 | ||
| 27 | - import curses | ||
| 28 | 27 | from pygments.formatter import Formatter | |
| 29 | 28 | from pygments.token import Keyword, Name, Comment, String, Error, \ | |
| 30 | - Number, Operator, Generic, Token, Whitespace, Literal, Punctuation | ||
| 29 | + Number, Operator, Token, Whitespace, Literal, Punctuation | ||
| 31 | 30 | ||
| 32 | 31 | """These format strings are pretty ugly. | |
| 33 | 32 | \x01 represents a colour marker, which | |
| Back | FazBrowse Home | New Git URL |
0 commit comments