[Lldb-commits] [lldb] r165420 -	/lldb/trunk/scripts/Python/python-extensions.swig
    Enrico Granata 
    egranata at apple.com
       
    Mon Oct  8 12:01:10 PDT 2012
    
    
  
Author: enrico
Date: Mon Oct  8 14:01:10 2012
New Revision: 165420
URL: http://llvm.org/viewvc/llvm-project?rev=165420&view=rev
Log:
Silly me! There was a closing ) missing from one of the lines - and Python complained about syntax errors on the next line. It being a Friday afternoon made the rest
Modified:
    lldb/trunk/scripts/Python/python-extensions.swig
Modified: lldb/trunk/scripts/Python/python-extensions.swig
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/python-extensions.swig?rev=165420&r1=165419&r2=165420&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/python-extensions.swig (original)
+++ lldb/trunk/scripts/Python/python-extensions.swig Mon Oct  8 14:01:10 2012
@@ -540,7 +540,7 @@
         if type(key) is int:
             return value(self.sbvalue.GetValueForExpressionPath("[%i]" % key))
         if type(key) is value:
-            return value(self.sbvalue.GetValueForExpressionPath("[%i]" % int(key))
+            return value(self.sbvalue.GetValueForExpressionPath("[%i]" % int(key)))
         raise TypeError("No array item of type %s" % str(type(key)))
 
     def __getattr__(self, name):
    
    
More information about the lldb-commits
mailing list