Author: bugman Date: Fri Mar 2 05:20:19 2007 New Revision: 3062 URL: http://svn.gna.org/viewcvs/relax?rev=3062&view=rev Log: Removed the unused import of the __builtin__ module by the prompt.tab_completion module. See the thread starting at https://mail.gna.org/public/relax-devel/2007-02/msg00003.html (Message-id: <45DACFEA.7020108@xxxxxxxxxxxxxxx>) for a discussion of the issue. The text "__builtins__" has been fixed and is now "__builtin__". Modified: branches/error_import/prompt/tab_completion.py Modified: branches/error_import/prompt/tab_completion.py URL: http://svn.gna.org/viewcvs/relax/branches/error_import/prompt/tab_completion.py?rev=3062&r1=3061&r2=3062&view=diff ============================================================================== --- branches/error_import/prompt/tab_completion.py (original) +++ branches/error_import/prompt/tab_completion.py Fri Mar 2 05:20:19 2007 @@ -20,7 +20,6 @@ # # ############################################################################### -import __builtin__ from re import match, split from rlcompleter import get_class_members @@ -40,7 +39,7 @@ self.options = [] for name in self.list: - if match(self.input, name) and name != "__builtins__": + if match(self.input, name) and name != "__builtin__": self.options.append(name) @@ -69,7 +68,7 @@ # Possible completions. self.options = [] for name in self.list: - if match(list[-1], name) and name != "__builtins__": + if match(list[-1], name) and name != "__builtin__": self.options.append(module + '.' + name) if self.print_flag: