Fix formatting of long line
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
8ced384540
commit
f72adc03b1
1 changed files with 3 additions and 1 deletions
|
|
@ -152,7 +152,9 @@ class UnifiedISO(object):
|
|||
# provided `dir` are kept.
|
||||
if os.path.islink(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):
|
||||
old_path = real_path
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue