~ubuntu-branches/ubuntu/trusty/swift/trusty

« back to all changes in this revision

Viewing changes to swift/common/middleware/memcache.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-09-20 08:42:59 UTC
  • mfrom: (1.2.13)
  • Revision ID: package-import@ubuntu.com-20120920084259-oo60yy6n2tvpig3n
Tags: 1.7.2-0ubuntu1
New upstream release, this release fixes a major 
regression introduced in the last release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
            self.memcache_servers = '127.0.0.1:11211'
53
53
        if serialization_format is None:
54
54
            serialization_format = 2
 
55
        else:
 
56
            serialization_format = int(serialization_format)
55
57
 
56
58
        self.memcache = MemcacheRing(
57
59
            [s.strip() for s in self.memcache_servers.split(',') if s.strip()],