librato/collectd-librato — Issue #1: Python 2.6.6 runtime error
Author: perezd
Created: 2011-12-15 17:29:45+00:00
State: open

running 0.0.2 of collectd-librato on debian 6, and python 2.6.6 getting the following error when checking my collectd config with the -t flag:

`unhandled python exception in loading module: AttributeError: 'tuple' object has no attribute 'major'`

I believe I've tracked down this issue to the following line:
https://github.com/librato/collectd-librato/blob/master/lib/collectd-librato.py#L117

if I run python REPL, and type sys.version_info, the tuple I get in py 2.6 looks like this:
`(2, 6, 6, 'final', 0)`

calling major on that results in an identical error message. I could patch this, but I am uncertain how you'd like to handle this scenario.