diff options
| author | Alex Gaynor <alex.gaynor@rd.io> | 2012-10-24 15:53:00 -0700 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@rd.io> | 2012-10-24 15:53:00 -0700 |
| commit | ce1eb320e59b577a600eb84d7f423a1897be3576 (patch) | |
| tree | ad1875003e264d7ff15e5815df42716a7234ffbe /tests/regressiontests/initial_sql_regress | |
| parent | da958eb2098372c20cc3aaf905777b1a8d3144eb (diff) | |
Remove a case that is no longer reachable in encodings.py.
This case was originally designed to handle Exception's which didn't gracefully support coercing themselves to unicode. However, because it lives in the `else` case of `if hasattr(s, '__unicode__'):` we can be sure it's no longer reachable in djanog anymore, because since Python 2.5 exception has subclassed object, which means Exception objects always have an __unicode__ method.
Diffstat (limited to 'tests/regressiontests/initial_sql_regress')
0 files changed, 0 insertions, 0 deletions
