autocompete was matching import_foo as import keyword.

breaking autocomp. on import_scene_obj for eg.
This commit is contained in:
Campbell Barton
2010-02-14 12:23:25 +00:00
parent 39c04315e2
commit 3871cb78bc
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ import re
# regular expressions to find out which completer we need
# line which starts with an import statement
RE_MODULE = re.compile('^import|from.+')
RE_MODULE = re.compile('^import(\s|$)|from.+')
# The following regular expression means an 'unquoted' word
RE_UNQUOTED_WORD = re.compile(