Fix formatting of long line

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit f72adc03b1)
This commit is contained in:
Lubomír Sedlář 2024-06-17 10:20:10 +02:00 committed by Stepan Oksanichenko
parent 88b6d8ebf5
commit 78bfbef206
Signed by: soksanichenko
GPG Key ID: AB9983172AB1E45B

View File

@ -152,7 +152,9 @@ class UnifiedISO(object):
# provided `dir` are kept. # provided `dir` are kept.
if os.path.islink(old_path): if os.path.islink(old_path):
real_path = os.readlink(old_path) real_path = os.readlink(old_path)
abspath = os.path.normpath(os.path.join(os.path.dirname(old_path), real_path)) abspath = os.path.normpath(
os.path.join(os.path.dirname(old_path), real_path)
)
if not abspath.startswith(dir): if not abspath.startswith(dir):
old_path = real_path old_path = real_path
try: try: