diff options
| author | Sean Reifschneider <jafo@tummy.com> | 2014-05-10 14:52:09 -0600 |
|---|---|---|
| committer | Sean Reifschneider <jafo@tummy.com> | 2014-05-10 14:52:09 -0600 |
| commit | 8a75759613dfb5a57c7c03d07075d2a518504c10 (patch) | |
| tree | 2342e5b12a050902f4e5f64777dade814724ff77 /memcache.py | |
| parent | 6a17f67a3bc388c8817e463cdc359feb730c6f8f (diff) | |
| download | python-memcached-8a75759613dfb5a57c7c03d07075d2a518504c10.tar.gz | |
Fixing connection-dead subscript issue.
From Dustin Oprea, part of #38.
Diffstat (limited to 'memcache.py')
| -rw-r--r-- | memcache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memcache.py b/memcache.py index 247a2ba..eca7ea6 100644 --- a/memcache.py +++ b/memcache.py @@ -1168,7 +1168,7 @@ class _Host(object): return None except socket.error as msg: if isinstance(msg, tuple): msg = msg[1] - self.mark_dead("connect: %s" % msg[1]) + self.mark_dead("connect: %s" % msg) return None self.socket = s self.buffer = '' |
