<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/flake8.git/flake8/compat.py, branch bug/52</title>
<subtitle>gitlab.com: pycqa/flake8.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/'/>
<entry>
<title>Add compatibility layer for Python 2.6</title>
<updated>2015-03-07T05:43:36+00:00</updated>
<author>
<name>Ian Cordasco</name>
<email>graffatcolmingov@gmail.com</email>
</author>
<published>2015-03-07T05:43:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/flake8.git/commit/?id=0e2b873c38321941572ea887f7708710602fe809'/>
<id>0e2b873c38321941572ea887f7708710602fe809</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
