(subject, charsets)
| 111 | |
| 112 | |
| 113 | def _try_decode(subject, charsets): |
| 114 | for charset in charsets[:-1]: |
| 115 | try: |
| 116 | return tonative(subject, charset) |
| 117 | except ValueError: |
| 118 | pass |
| 119 | return tonative(subject, charsets[-1]) |
no test coverage detected
searching dependent graphs…