mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-21 02:01:31 +00:00
use docstring to mark method as async
This commit is contained in:
parent
2b5d3be3c8
commit
8b5e988755
@ -185,11 +185,10 @@ class NoNetworkStorageBroker(object):
|
||||
return [] # FIXME?
|
||||
|
||||
|
||||
# @defer.inlineCallbacks
|
||||
def create_no_network_client(basedir):
|
||||
"""
|
||||
:return: an instance of _Client subclass which does no actual
|
||||
networking but has the same API.
|
||||
:return: a Deferred yielding an instance of _Client subclass which
|
||||
does no actual networking but has the same API.
|
||||
"""
|
||||
basedir = abspath_expanduser_unicode(unicode(basedir))
|
||||
fileutil.make_dirs(os.path.join(basedir, "private"), 0700)
|
||||
|
Loading…
x
Reference in New Issue
Block a user