Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorator fix #28

Merged
merged 4 commits into from
Apr 1, 2014
Merged

Decorator fix #28

merged 4 commits into from
Apr 1, 2014

Conversation

matsjoyce
Copy link
Contributor

Fixes for #27

@matsjoyce
Copy link
Contributor Author

I've tested this for python 3.3 and 2.7

else:
return __import__(import_name)
return getattr(__import__(module, None, None, [obj]), obj)
except (ImportError, AttributeError):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Might be safer to have Exception here

mmckerns added a commit that referenced this pull request Apr 1, 2014
@mmckerns mmckerns merged commit b736758 into uqfoundation:master Apr 1, 2014
@matsjoyce matsjoyce deleted the decorator_fix branch April 1, 2014 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants