Skip to content

Commit d13d5a7

Browse files
committed
👹 Feed the hobgoblins (delint).
1 parent b72fce6 commit d13d5a7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

distutils/ccompiler.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -989,7 +989,11 @@ def _make_relative(base):
989989
# Chop off the drive
990990
no_drive = os.path.splitdrive(base)[1]
991991
# If abs, chop off leading /
992-
is_abs = os.path.isabs(no_drive) or sys.platform == 'win32' and no_drive.startswith(('/', "\\"))
992+
is_abs = (
993+
os.path.isabs(no_drive)
994+
or sys.platform == 'win32'
995+
and no_drive.startswith(('/', "\\"))
996+
)
993997
return no_drive[is_abs:]
994998

995999
def shared_object_filename(self, basename, strip_dir=False, output_dir=''):

0 commit comments

Comments
 (0)