Permalink
Browse files

Fix last commit for Redis 2.6

  • Loading branch information...
1 parent c6e99cd commit 5f965d8a118ff786bf6286ee9b0907c6617b0086 @samuel committed Aug 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 munin/redis.py
View
@@ -33,7 +33,7 @@ def get_info(self):
raise Exception("Protocol error")
remaining = int(l[1:]) - len(buf)
if remaining > 0:
- buf += s.recv(count - len(buf))
+ buf += s.recv(remaining)
s.close()
return dict(x.split(':', 1) for x in buf.split('\r\n') if ':' in x)

0 comments on commit 5f965d8

Please sign in to comment.