Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Should fix exception through because of 5 underscores in the varable name. #79

Merged
merged 1 commit into from
Feb 19, 2014

Conversation

smartkiwi
Copy link
Contributor

AttributeError: 'function' object has no attribute 'name_'

  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
    return self.wrapped(*args, **kwargs)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dogapi/fab.py", line 79, in wrapper
    logger.warn("Datadog notification on task {0} failed with {1}".format(t.__name___, e))
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 174, in __getattr__
    return getattr(self.wrapped, k)
AttributeError: 'function' object has no attribute '__name___'

AttributeError: 'function' object has no attribute '__name___'

  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 171, in run
    return self.wrapped(*args, **kwargs)
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dogapi/fab.py", line 79, in wrapper
    logger.warn("Datadog notification on task {0} failed with {1}".format(t.__name___, e))
  File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/fabric/tasks.py", line 174, in __getattr__
    return getattr(self.wrapped, k)
AttributeError: 'function' object has no attribute '__name___'
@miketheman
Copy link
Contributor

Awesome catch! 👍

miketheman added a commit that referenced this pull request Feb 19, 2014
Should fix exception through because of 5 underscores in the varable name.
@miketheman miketheman merged commit bcd53ae into DataDog:master Feb 19, 2014
miketheman added a commit that referenced this pull request Feb 19, 2014
Includes #79
Fixes #80
@miketheman
Copy link
Contributor

Released in dogapi 1.6.4

Thanks! 🍨

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants