use docstring to mark method as async

This commit is contained in:
meejah 2018-09-06 11:58:08 -06:00
parent 2b5d3be3c8
commit 8b5e988755

View File

@ -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)