From f75c9769286e91aeef42d51dffe146118497a869 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Mon, 8 Oct 2012 19:01:10 +0000 Subject: 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 llvm-svn: 165420 --- lldb/scripts/Python/python-extensions.swig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/scripts/Python/python-extensions.swig') diff --git a/lldb/scripts/Python/python-extensions.swig b/lldb/scripts/Python/python-extensions.swig index 050af3a..19868fb 100644 --- a/lldb/scripts/Python/python-extensions.swig +++ b/lldb/scripts/Python/python-extensions.swig @@ -540,7 +540,7 @@ class value(object): 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): -- cgit v1.1