]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/path.py: support missing directory components in realpath()
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Mon, 11 Feb 2013 19:21:52 +0000 (20:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:44:55 +0000 (22:44 +0000)
commita96e2c84f24c15b77ee1fbc1f998b8b4796b8664
tree3d48027ae8fd30c9da84cf7f4c498675ff1e9650
parent579369b0fb27fad6d628746a50b9b798078500f6
lib/oe/path.py: support missing directory components in realpath()

Some use cases in OE operate on symlinks which dangling path components.
Assume that these are directories instead of raising ENOENT.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py
meta/lib/oe/tests/test_path.py