Should fix exception through because of 5 underscores in the varable name. by smartkiwi · Pull Request #79 · DataDog/dogapi

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___'