Skip to content

Conversation

@andersk
Copy link
Contributor

@andersk andersk commented May 25, 2017

en = expr[0].rfind(')')
name = expr[0][st:en]
except:
except IndexError:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(This probably can’t happen at all, but I left it for now to be safe.)

@pavanky pavanky merged commit 9162487 into arrayfire:devel May 25, 2017
@andersk andersk deleted the bare-except branch May 25, 2017 07:46
@pavanky
Copy link
Member

pavanky commented May 25, 2017

@andersk Forgot to say thanks :) I merged it when I was quite sleepy.

@pavanky pavanky added this to the 3.5 milestone Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants