proper Tor settings (reverted r3915 and implemented it the right way)

This commit is contained in:
Miroslav Stampar
2011-05-24 11:06:58 +00:00
parent 0486d1cdaa
commit f774d8fea0
4 changed files with 51 additions and 25 deletions

View File

@@ -333,3 +333,9 @@ CODECS_LIST_PAGE = 'http://docs.python.org/library/codecs.html#standard-encoding
# Simple regular expression used to distinguish scalar from multiple-row commands (not sole condition)
SQL_SCALAR_REGEX = r"\A(SELECT(?!\s+DISTINCT\(?))?\s*\w*\("
# IP address of the localhost
LOCALHOST = "127.0.0.1"
# Default ports used in Tor proxy bundles
DEFAULT_TOR_PORTS = (8118, 8123)