Ommit using os.path.relpath
The method has different behaviour in python 2.6 and python 2.7. In python 2.6, os.path.relpath('/proc', '/) will output '../proc' where in python 2.7 it will output 'proc'.
Loading
Please register or sign in to comment