mailr3063 - /branches/error_import/prompt/tab_completion.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on March 02, 2007 - 05:22:
Author: bugman
Date: Fri Mar  2 05:22:24 2007
New Revision: 3063

URL: http://svn.gna.org/viewcvs/relax?rev=3063&view=rev
Log:
Removed the unused testing for the __builtin__ module.

The previous commit in this branch fixed the text "__builtins__", however the 
__builtin__ is no
longer imported by any part of relax and hence the test is unneccessary.


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=3063&r1=3062&r2=3063&view=diff
==============================================================================
--- branches/error_import/prompt/tab_completion.py (original)
+++ branches/error_import/prompt/tab_completion.py Fri Mar  2 05:22:24 2007
@@ -39,7 +39,7 @@
 
         self.options = []
         for name in self.list:
-            if match(self.input, name) and name != "__builtin__":
+            if match(self.input, name):
                 self.options.append(name)
 
 
@@ -68,7 +68,7 @@
         # Possible completions.
         self.options = []
         for name in self.list:
-            if match(list[-1], name) and name != "__builtin__":
+            if match(list[-1], name):
                 self.options.append(module + '.' + name)
 
         if self.print_flag:




Related Messages


Powered by MHonArc, Updated Fri Mar 02 06:20:05 2007