diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-09-02 18:59:40 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-09-02 18:59:40 +0200 |
commit | 1996fe764d7dd1d7e8db0a25633c80d94aeed235 (patch) | |
tree | 9cfd8eefa63244f0c877b5fd40dd4e4d8fa60066 /pyreverse/main.py | |
parent | e489ede4f3d0ff5650d4094fa08e45c3fc60701b (diff) | |
download | pylint-1996fe764d7dd1d7e8db0a25633c80d94aeed235.tar.gz |
add a comment: closing #9542: unrecognized ancestor
Diffstat (limited to 'pyreverse/main.py')
-rw-r--r-- | pyreverse/main.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyreverse/main.py b/pyreverse/main.py index e7fdbf2..da80bd6 100644 --- a/pyreverse/main.py +++ b/pyreverse/main.py @@ -102,6 +102,8 @@ class PyreverseCommand(ConfigurationMixIn): if not args: print self.help() return + # insert current working directory to the python path to recognize + # dependencies to local modules even if cwd is not in the PYTHONPATH sys.path.insert(0, os.getcwd()) try: project = self.manager.project_from_files(args) |