Add compatibility layer for Python 2.6
os.path.relpath on Python 2.6 returns slightly different output than it does on 2.7. Rather than try to write tests around the behaviour, it makes sense to have a common relpath function that behaves the same on every version.
Loading
Please register or sign in to comment