mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
whitelist next_layer for @concurrent
This commit is contained in:
parent
d002371d30
commit
8dfa15c2d4
@ -179,7 +179,8 @@ def concurrent(fn):
|
|||||||
"error",
|
"error",
|
||||||
"clientconnect",
|
"clientconnect",
|
||||||
"serverconnect",
|
"serverconnect",
|
||||||
"clientdisconnect"):
|
"clientdisconnect",
|
||||||
|
"next_layer"):
|
||||||
def _concurrent(ctx, obj):
|
def _concurrent(ctx, obj):
|
||||||
_handle_concurrent_reply(fn, obj, ctx, obj)
|
_handle_concurrent_reply(fn, obj, ctx, obj)
|
||||||
|
|
||||||
|
12
setup.py
12
setup.py
@ -83,7 +83,8 @@ setup(
|
|||||||
"Topic :: Internet",
|
"Topic :: Internet",
|
||||||
"Topic :: Internet :: WWW/HTTP",
|
"Topic :: Internet :: WWW/HTTP",
|
||||||
"Topic :: Internet :: Proxy Servers",
|
"Topic :: Internet :: Proxy Servers",
|
||||||
"Topic :: Software Development :: Testing"],
|
"Topic :: Software Development :: Testing"
|
||||||
|
],
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
entry_points={
|
entry_points={
|
||||||
@ -94,8 +95,13 @@ setup(
|
|||||||
'contentviews': [
|
'contentviews': [
|
||||||
"pyamf>=0.6.1",
|
"pyamf>=0.6.1",
|
||||||
"protobuf>=2.5.0",
|
"protobuf>=2.5.0",
|
||||||
"cssutils>=1.0"],
|
"cssutils>=1.0"
|
||||||
|
],
|
||||||
'examples': [
|
'examples': [
|
||||||
"pytz",
|
"pytz",
|
||||||
"harparser",
|
"harparser",
|
||||||
"beautifulsoup4"]})
|
"beautifulsoup4",
|
||||||
|
"enum34"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user