mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Only semi-break the web service.
This commit is contained in:
parent
833bc72ac3
commit
2588e757e5
@ -20,7 +20,7 @@ from __future__ import unicode_literals
|
||||
# Tubs, so it is not useful for tests that involve a Helper or the
|
||||
# control.furl .
|
||||
|
||||
from future.utils import PY2
|
||||
from future.utils import PY2, PY3
|
||||
if PY2:
|
||||
from future.builtins import filter, map, zip, ascii, chr, hex, input, next, oct, open, pow, round, super, bytes, dict, list, object, range, str, max, min # noqa: F401
|
||||
from past.builtins import unicode
|
||||
@ -268,8 +268,11 @@ class _NoNetworkClient(_Client):
|
||||
def init_stub_client(self):
|
||||
pass
|
||||
#._servers will be set by the NoNetworkGrid which creates us
|
||||
def init_web(self, *args, **kwargs):
|
||||
pass
|
||||
|
||||
if PY3:
|
||||
def init_web(self, *args, **kwargs):
|
||||
print("Web service is temporarily disabled until nevow is gone.")
|
||||
|
||||
|
||||
class SimpleStats(object):
|
||||
def __init__(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user