Ran black on branc
This commit is contained in:
parent
6effb6f456
commit
4ea6209123
230 changed files with 7108 additions and 2395 deletions
|
|
@ -300,7 +300,9 @@ def _obj_search(*args, **kwargs):
|
|||
if len(targets) > 1:
|
||||
raise ValueError(
|
||||
"$obj: Query '{query}' gave {nmatches} matches. Limit your "
|
||||
"query or use $objlist instead.".format(query=query, nmatches=len(targets))
|
||||
"query or use $objlist instead.".format(
|
||||
query=query, nmatches=len(targets)
|
||||
)
|
||||
)
|
||||
target = targets[0]
|
||||
if account:
|
||||
|
|
@ -332,7 +334,9 @@ def objlist(*args, **kwargs):
|
|||
Returns list with one or more Objects searched globally by key, alias or #dbref.
|
||||
|
||||
"""
|
||||
return ["#{}".format(obj.id) for obj in _obj_search(return_list=True, *args, **kwargs)]
|
||||
return [
|
||||
"#{}".format(obj.id) for obj in _obj_search(return_list=True, *args, **kwargs)
|
||||
]
|
||||
|
||||
|
||||
def dbref(*args, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue