Permalink
Browse files

Update error message

  • Loading branch information...
1 parent 706670a commit 2a6971fdc409cb4c11e54c5d75bf4ae0cb837b52 @kwgoodman committed Jun 29, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 la/deflarry.py
View
6 la/deflarry.py
@@ -1762,9 +1762,9 @@ def __getitem__(self, index):
label[0] = lab
x = self.x[index.x]
else:
- msg = 'Only slice, integer, and seq (list, tuple, 1d array)'
- msg = msg + ' indexing supported'
- raise IndexError, msg
+ msg = 'Only slice, integer, and seq (list, tuple, 1d array,'
+ msg = msg + ' 1d bool larry) indexing supported'
+ raise IndexError(msg)
return larry(x, label, validate=validate)
def take(self, indices, axis):

0 comments on commit 2a6971f

Please sign in to comment.