Fix style errors
This commit is contained in:
@@ -17,7 +17,7 @@ def path_contains(parent, child):
|
|||||||
|
|
||||||
while child != os.path.dirname(child):
|
while child != os.path.dirname(child):
|
||||||
child = os.path.dirname(child)
|
child = os.path.dirname(child)
|
||||||
if os.stat(parent) == os.stat(child):
|
if os.stat(parent) == os.stat(child):
|
||||||
# parent and child refer to the same directory on the filesystem
|
# parent and child refer to the same directory on the filesystem
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|||||||
Reference in New Issue
Block a user