mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Put column descriptions where they belong
The Column class accepts a 'doc' argument. Use it. And while we're at it, make them all unicode strings. Performed by the following sed script: s/info=dict(description=u\?\("[^"]*"\))/doc=u\1/ s/info=dict(description=u\?\('[^']*'\))/doc=u\1/ s/\(\s*\)info=dict(description=u\?\("[^"]*"\), /\1doc=u\2,\n\1info=dict(/ s/\(\s*\)info=dict(description=u\?\('[^']*'\), /\1doc=u\2,\n\1info=dict(/ /info=dict(description=u\?\('[^']*'\),$/ { s//doc=u\1,/ n s/^\s*/&info=dict(/ }
This commit is contained in:
parent
181ae0fe19
commit
6f5abb9540
4 changed files with 646 additions and 514 deletions
pokedex/db
1147
pokedex/db/tables.py
1147
pokedex/db/tables.py
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue