mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
remove unused things
This commit is contained in:
parent
86d33e19c5
commit
b38a724d3d
@ -4,18 +4,12 @@ from __future__ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
import os.path, re, sys
|
import os.path, re, sys
|
||||||
|
|
||||||
from unittest import (
|
|
||||||
skipIf,
|
|
||||||
)
|
|
||||||
|
|
||||||
import attr
|
|
||||||
from os import linesep
|
from os import linesep
|
||||||
|
|
||||||
from twisted.trial import unittest
|
from twisted.trial import unittest
|
||||||
|
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
from twisted.python import usage, runtime
|
from twisted.python import usage
|
||||||
from twisted.internet.defer import (
|
from twisted.internet.defer import (
|
||||||
inlineCallbacks,
|
inlineCallbacks,
|
||||||
returnValue,
|
returnValue,
|
||||||
@ -26,7 +20,6 @@ from twisted.python.filepath import FilePath
|
|||||||
from allmydata.util import fileutil, pollmixin
|
from allmydata.util import fileutil, pollmixin
|
||||||
from allmydata.util.encodingutil import unicode_to_argv, unicode_to_output, \
|
from allmydata.util.encodingutil import unicode_to_argv, unicode_to_output, \
|
||||||
get_filesystem_encoding
|
get_filesystem_encoding
|
||||||
from allmydata.client import _Client
|
|
||||||
from allmydata.test import common_util
|
from allmydata.test import common_util
|
||||||
import allmydata
|
import allmydata
|
||||||
from allmydata import __appname__
|
from allmydata import __appname__
|
||||||
@ -36,8 +29,6 @@ from .cli_node_api import (
|
|||||||
Expect,
|
Expect,
|
||||||
on_stdout,
|
on_stdout,
|
||||||
on_stdout_and_stderr,
|
on_stdout_and_stderr,
|
||||||
on_different,
|
|
||||||
wait_for_exit,
|
|
||||||
)
|
)
|
||||||
from ._twisted_9607 import (
|
from ._twisted_9607 import (
|
||||||
getProcessOutputAndValue,
|
getProcessOutputAndValue,
|
||||||
@ -64,11 +55,6 @@ def get_root_from_file(src):
|
|||||||
srcfile = allmydata.__file__
|
srcfile = allmydata.__file__
|
||||||
rootdir = get_root_from_file(srcfile)
|
rootdir = get_root_from_file(srcfile)
|
||||||
|
|
||||||
cannot_daemonize = False
|
|
||||||
if runtime.platformType == "win32":
|
|
||||||
# twistd on windows doesn't daemonize. cygwin should work normally.
|
|
||||||
cannot_daemonize = "twistd does not fork under windows"
|
|
||||||
|
|
||||||
class RunBinTahoeMixin:
|
class RunBinTahoeMixin:
|
||||||
@inlineCallbacks
|
@inlineCallbacks
|
||||||
def find_import_location(self):
|
def find_import_location(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user