pungi status
Mathieu Bridon
bochecha at daitauha.fr
Fri Jul 10 07:58:59 UTC 2015
--
Mathieu
On Thu, 2015-07-09 at 20:54 -0500, Dennis Gilmore wrote:
> leading up to this we hit an issue where the mounting was not
> happening correctly. it turns out that when you pass os.path.join two
> variables the first one is silently dropped. not sure if this is a
> bug in python or the way that os.path.join is supposed to work.
Do you mean this?
>>> os.path.join('/foo', '/bar') == '/bar'
True
If this is what you mean, then it indeed is the expected behaviour:
> 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
--
Mathieu
More information about the rel-eng
mailing list