Run black on moto & test directories.
This commit is contained in:
parent
c820395dbf
commit
96e5b1993d
507 changed files with 52541 additions and 47814 deletions
|
|
@ -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"
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue