diff options
author | Enrico Granata <egranata@apple.com> | 2012-10-08 19:01:10 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2012-10-08 19:01:10 +0000 |
commit | f75c9769286e91aeef42d51dffe146118497a869 (patch) | |
tree | 407d2d2f23a4019b81f5db6ec9e7d61eed390b0e /lldb/scripts/Python/python-extensions.swig | |
parent | fe3f793cec1dd5bb44f8451bfcaa22a3b59a1c1e (diff) | |
download | bcm5719-llvm-f75c9769286e91aeef42d51dffe146118497a869.tar.gz bcm5719-llvm-f75c9769286e91aeef42d51dffe146118497a869.zip |
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
Diffstat (limited to 'lldb/scripts/Python/python-extensions.swig')
-rw-r--r-- | lldb/scripts/Python/python-extensions.swig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-extensions.swig b/lldb/scripts/Python/python-extensions.swig index 050af3a9b0b..19868fba811 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): |