Permalink
Browse files

fixed star import invalidation exception

  • Loading branch information...
davidhalter committed Nov 21, 2012
1 parent 576e53f commit c706bae55b8d39acf1ce7027d0e077e35319f384
Showing with 2 additions and 2 deletions.
  1. +2 −2 jedi/imports.py
View
@@ -288,9 +288,9 @@ def wrapper(scope, *args, **kwargs):
def invalidate_star_import_cache(module, only_main=False):
""" Important if some new modules are being reparsed """
try:
- mods = star_import_cache[module]
+ t, mods = star_import_cache[module]
- for t, m in mods:
+ for m in mods:
invalidate_star_import_cache(m, only_main=True)
del star_import_cache[module]

0 comments on commit c706bae

Please sign in to comment.