Fix flakes.

This commit is contained in:
Itamar Turner-Trauring 2021-06-02 11:31:32 -04:00
parent defe16f912
commit a910ebcc8a
2 changed files with 3 additions and 3 deletions

View File

@ -515,7 +515,7 @@ def list_aliases(options):
def list_(options):
from allmydata.scripts import tahoe_ls
rc = tahoe_ls.list(options)
rc = tahoe_ls.ls(options)
return rc
def get(options):

View File

@ -10,7 +10,7 @@ from future.utils import PY2
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 six import ensure_text, ensure_str
from six import ensure_text
import time
from urllib.parse import quote as url_quote
@ -20,7 +20,7 @@ from allmydata.scripts.common import get_alias, DEFAULT_ALIAS, escape_path, \
from allmydata.scripts.common_http import do_http, format_http_error
from allmydata.util.encodingutil import unicode_to_output, quote_output, is_printable_ascii, to_bytes
def list(options):
def ls(options):
nodeurl = options['node-url']
aliases = options.aliases
where = options.where