Chromium Code Reviews| Index: build/android/pylib/content_settings.py |
| diff --git a/build/android/pylib/content_settings.py b/build/android/pylib/content_settings.py |
| index 6993eb375324d1e78ada1887862209cb9eafc85d..d2220537202f9dc0186adb2503426de5e1186af8 100644 |
| --- a/build/android/pylib/content_settings.py |
| +++ b/build/android/pylib/content_settings.py |
| @@ -50,7 +50,10 @@ class ContentSettings(dict): |
| key = v |
| elif k == 'value': |
| value = v |
| - assert key, value |
| + if not key: |
|
tonyg
2014/08/15 17:19:43
ditto, given the lack of tests, I'd recommend a se
jbudorick
2014/08/15 17:41:47
This one seems unlikely to cause more flakes -- an
|
| + continue |
| + if not value: |
| + value = '' |
| yield key, value |
| def __getitem__(self, key): |