Although this is often a surprising behaviour, the Python documentation
is quite clear on this:
If a component is an absolute path, all previous components are
thrown away and joining continues from the absolute path component.
https://docs.python.org/2/library/os.path.html#os.path.join
That means we need to ensure that we don't end up in this case.
|
||
|---|---|---|
| .. | ||
| echo.py | ||
| Makefile | ||
| messagebus.conf | ||
| messagebus.py | ||
| rpm2maven.conf | ||
| rpm2maven.py | ||
| runroot.conf | ||
| runroot.py | ||
| runroot_hub.py | ||