Run black on moto & test directories.

This commit is contained in:
Asher Foa 2019-10-31 08:44:26 -07:00
commit 96e5b1993d
507 changed files with 52541 additions and 47814 deletions

View file

@ -17,8 +17,10 @@ def parse_key_name(path):
def is_delete_keys(request, path, bucket_name):
return (
path == u'/' + bucket_name + u'/?delete' or
path == u'/' + bucket_name + u'?delete' or
(path == u'/' + bucket_name and
getattr(request, "query_string", "") == "delete")
path == "/" + bucket_name + "/?delete"
or path == "/" + bucket_name + "?delete"
or (
path == "/" + bucket_name
and getattr(request, "query_string", "") == "delete"
)
)