Summary: | Imports with relative path are not understood correctly | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Hai Zaar <haizaar> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.4.0 / 1.4.1 (stable) | ||
Target Milestone: | 1.6.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-python/e1de00ab8d0544b846fc0b0de3e4a2648b47c13d | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Patch to make relative imports work (for me) |
Description
Hai Zaar
2013-07-18 15:42:37 UTC
Yes, known issue, it's on the TODO list already. Great. Looking forward to have it! :) Created attachment 81589 [details]
Patch to make relative imports work (for me)
How about the attached patch?
BTW, do you usually create unitests for this kind of stuff?
Git commit e1de00ab8d0544b846fc0b0de3e4a2648b47c13d by Sven Brauch, on behalf of Zaar Hai. Committed on 13/08/2013 at 10:27. Pushed by brauch into branch 'master'. Make relative imports work REVIEW:111928 CCMAIL:haizaar@haizaar.com M +13 -2 duchain/contextbuilder.cpp M +4 -1 duchain/declarationbuilder.cpp http://commits.kde.org/kdev-python/e1de00ab8d0544b846fc0b0de3e4a2648b47c13d |