diff options
author | JT Olds <jtolds@xnet5.com> | 2012-05-15 14:52:44 +0200 |
---|---|---|
committer | JT Olds <jtolds@xnet5.com> | 2012-05-15 14:52:44 +0200 |
commit | c4fc07f28999f7a5234209fdfae271f92549edf1 (patch) | |
tree | 31eb83619eddd85b4ff766d1dff1257f6b2a72f3 /reporters | |
parent | af3e487e5ebfdc2113e975a61308c5bf46d3cbb8 (diff) | |
download | pylint-c4fc07f28999f7a5234209fdfae271f92549edf1.tar.gz |
Make pythonpath behaviour closer to python's (closes #88218)
When pylint is called with a single filename as argument, walk its path
backwards to find the first directory that doesn't have a __init__.py,
and add that to sys.path instead of the cwd.
Diffstat (limited to 'reporters')
0 files changed, 0 insertions, 0 deletions