Merge lp:~bloodearnest/conn-check/config-memcached-string into lp:~ubuntuone-hackers/conn-check/configs

Proposed by Simon Davy on 2015-09-30
Status: Rejected
Rejected by: Adam Collard on 2017-08-02
Proposed branch: lp:~bloodearnest/conn-check/config-memcached-string
Merge into: lp:~ubuntuone-hackers/conn-check/configs
Diff against target: 12 lines (+1/-1)
1 file modified
conn_check_configs/ (+1/-1)
To merge this branch: bzr merge lp:~bloodearnest/conn-check/config-memcached-string
Reviewer Review Type Date Requested Status
Ubuntu One hackers 2015-09-30 Pending
Review via email:

Commit message

Fix django memcached check when it's just a string

Description of the change

Fix django memcached check when it's just a string

To post a comment you must log in.

Unmerged revisions

24. By Canonical IS Robot on 2015-09-30

fix memcached check when string

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'conn_check_configs/'
2--- conn_check_configs/ 2015-02-26 15:03:35 +0000
3+++ conn_check_configs/ 2015-09-30 16:11:05 +0000
4@@ -120,7 +120,7 @@
5 'django.core.cache.backends.memcached.MemcachedCache'):
7 locations = cache['LOCATION']
8- if not isinstance(locations, collections.Iterable):
9+ if not isinstance(locations, (list, tuple)):
10 locations = [locations]
12 for location in locations:


People subscribed via source and target branches

to all changes: