nkrode / RedisLive

Visualize your redis instances, analyze query patterns and spikes.
http://www.nkrode.com/article/real-time-dashboard-for-redis
MIT License
3.07k stars 644 forks source link

Python 2.6 issue: datetime.timedelta has no attribute 'total_seconds' #5

Closed bialecki closed 12 years ago

bialecki commented 12 years ago

Works fine in 2.7, just an issue for 2.6.

kumarnitin commented 12 years ago

aah shoot...i think we can get rid of total_seconds. Equivalent to (td.microseconds + (td.seconds + td.days * 24 * 3600) * 106) / 106

peterbe commented 12 years ago

duplicate but mine's got a traceback https://github.com/kumarnitin/RedisLive/issues/10