CI: don't shadow built-in dir
function (MR 4500)
Not related to the deprecation fixes. [ci:skip-build]: already built successfully in CI
This commit is contained in:
parent
c5b66e4090
commit
93c04ff4a6
1 changed files with 3 additions and 3 deletions
|
@ -24,9 +24,9 @@ def path_pmbootstrap():
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Resolve the symlink and verify the folder
|
# Resolve the symlink and verify the folder
|
||||||
dir = os.path.dirname(os.path.realpath(bin))
|
directory = os.path.dirname(os.path.realpath(bin))
|
||||||
if os.path.exists(dir + "/pmb/__init__.py"):
|
if os.path.exists(directory + "/pmb/__init__.py"):
|
||||||
return dir
|
return directory
|
||||||
|
|
||||||
directories = getsitepackages()
|
directories = getsitepackages()
|
||||||
for directory in directories:
|
for directory in directories:
|
||||||
|
|
Loading…
Reference in a new issue