mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 15:37:45 +00:00
netlib.version -> mitmproxy.version
This commit is contained in:
parent
ee56d3fae0
commit
7440232f60
@ -5,7 +5,7 @@ import subprocess
|
||||
import sys
|
||||
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
import netlib.version
|
||||
from mitmproxy import version
|
||||
|
||||
|
||||
extensions = [
|
||||
@ -47,9 +47,9 @@ author = u'The mitmproxy project'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
version = netlib.version.VERSION
|
||||
version = version.VERSION
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = netlib.version.VERSION
|
||||
release = version.VERSION
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
@ -14,7 +14,7 @@ import pytz
|
||||
|
||||
import mitmproxy
|
||||
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
from netlib import strutils
|
||||
from netlib.http import cookies
|
||||
|
||||
|
@ -2,7 +2,7 @@ from mitmproxy import ctx
|
||||
from mitmproxy import exceptions
|
||||
|
||||
from netlib import wsgi
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
|
||||
class WSGIApp:
|
||||
|
@ -4,8 +4,8 @@ import uuid
|
||||
|
||||
from mitmproxy import stateobject
|
||||
from mitmproxy import connections
|
||||
from mitmproxy import version
|
||||
|
||||
from netlib import version
|
||||
from typing import Optional # noqa
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@ import cgi
|
||||
|
||||
from mitmproxy import flow
|
||||
from netlib import http
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
from netlib import tcp
|
||||
|
||||
|
||||
|
@ -4,7 +4,8 @@ This module handles the import of mitmproxy flows generated by old versions.
|
||||
|
||||
from typing import Any
|
||||
|
||||
from netlib import version, strutils
|
||||
from mitmproxy import version
|
||||
from netlib import strutils
|
||||
|
||||
|
||||
def convert_011_012(data):
|
||||
|
@ -7,7 +7,7 @@ from mitmproxy import options
|
||||
from mitmproxy import platform
|
||||
from netlib import human
|
||||
from netlib import tcp
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
|
||||
class ParseException(Exception):
|
||||
|
@ -6,7 +6,7 @@ from mitmproxy import flowfilter
|
||||
from mitmproxy.tools.console import common
|
||||
from mitmproxy.tools.console import signals
|
||||
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
footer = [
|
||||
("heading", 'mitmproxy {} (Python {}) '.format(version.VERSION, platform.python_version())),
|
||||
|
@ -15,7 +15,7 @@ from mitmproxy import flow
|
||||
from mitmproxy import http
|
||||
from mitmproxy import contentviews
|
||||
from mitmproxy import io
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
|
||||
def convert_flow_to_json_dict(flow: flow.Flow) -> dict:
|
||||
|
@ -6,7 +6,7 @@ import signal
|
||||
import platform
|
||||
import traceback
|
||||
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
from OpenSSL import SSL
|
||||
|
||||
|
@ -4,7 +4,7 @@ import os
|
||||
import os.path
|
||||
|
||||
from netlib import tcp
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
from netlib.http import user_agents
|
||||
from . import pathoc, language
|
||||
|
||||
|
@ -7,7 +7,7 @@ import threading
|
||||
from netlib import tcp
|
||||
from netlib import certutils
|
||||
from netlib import websockets
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
|
||||
import urllib
|
||||
from netlib.exceptions import HttpException, HttpReadDisconnect, TcpTimeout, TcpDisconnect, \
|
||||
|
@ -6,7 +6,7 @@ import re
|
||||
|
||||
from netlib import tcp
|
||||
from netlib import human
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
from . import pathod
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
from netlib import version
|
||||
from mitmproxy import version
|
||||
from netlib.exceptions import TlsException
|
||||
from netlib.http import http1
|
||||
from .. import language
|
||||
|
Loading…
Reference in New Issue
Block a user