Chromium Code Reviews| Index: model.py |
| =================================================================== |
| --- model.py (revision 226737) |
| +++ model.py (working copy) |
| @@ -240,9 +240,6 @@ |
| continue |
| if not all(i is None or i.__class__ == type for i in item_value): |
| continue |
| - if any(i is str for i in item_value): |
| - raise TypeError( |
| - '%s is type \'str\' which is currently not supported' % item) |
| item_value = tuple( |
| f if f is not None else None.__class__ for f in item_value) |
| persistent_members_cache[item] = item_value |