Commit dc0dfb51 authored by Robert K's avatar Robert K

[bugfix][python] Skip module directory check when paths are the same.

parent 86b753dd
Pipeline #20573 passed with stage
in 8 minutes and 44 seconds
......@@ -386,8 +386,10 @@ def select_modules(modules=None):
else:
desc[n], dir[n] = d, p
else:
if not is_installed(d, n):
raise KeyError('Multiple source versions for module \'' + n + '\' found.')
# check that the directories are not the same
if not p == dir[n]:
if not is_installed(d, n):
raise KeyError('Multiple source versions for module \'' + n + '\' found.')
else:
desc[n], dir[n] = d, p
return (desc, dir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment