commit | d8591997d9718f482f7f1d39f2bf1aa0e4a5ab92 | [log] [tgz] |
---|---|---|
author | John Vandenberg <jayvdb@gmail.com> | Thu May 12 18:28:52 2016 |
committer | Phil Frost <indigo@bitglue.com> | Thu May 12 18:28:52 2016 |
tree | ecbc080d759d911b58a11815f356c5019397c316 | |
parent | 885a8e5395f3eac58a995a49dbe347b8f6648f64 [diff] |
Fix TypeError when processing relative imports (#61) Fixes lp:1560134 aec68a784 added module names to error messages, however it caused a TypeError for relative imports that do not specify a module such as: from . import x This fixes the TypeError, and also adds the necessary leading dots for relative import error messages. Add tests for various types of relative imports.