Fix formatting of long line
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit f72adc03b1
)
This commit is contained in:
parent
88b6d8ebf5
commit
78bfbef206
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user