Fix formatting of long line

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2024-06-17 10:20:10 +02:00
parent 8ced384540
commit f72adc03b1

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: