Skip to content

Conversation

@lodagro
Copy link
Contributor

@lodagro lodagro commented Jan 12, 2012

I don`t have bottleneck, this little change allows me to import trunk again
nosetests running fine

@wesm
Copy link
Member

wesm commented Jan 12, 2012

Sorry about that. I changed it to a slightly more EAFP:


    try:
        bn_func = getattr(bn, bn_name)
    except NameError:
        bn_func = None

@wesm wesm closed this Jan 12, 2012
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