Skip to content

Commit af8486f

Browse files
committed
black
1 parent aa96bd7 commit af8486f

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

collective/behavior/relatedmedia/browser.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,16 @@ def __call__(self):
351351
url=obj.absolute_url_path(),
352352
),
353353
target=dict(
354-
title=source_obj.title_or_id() if source_obj else "-broken-",
355-
url=source_obj.absolute_url_path() if source_obj else "#",
354+
title=(
355+
source_obj.title_or_id()
356+
if source_obj
357+
else "-broken-"
358+
),
359+
url=(
360+
source_obj.absolute_url_path()
361+
if source_obj
362+
else "#"
363+
),
356364
),
357365
)
358366
)

0 commit comments

Comments
 (0)