evorepo/devel/management
Dan McGee 5ca2cea388 reporead: revamp database parsing code
This needed a little sprucing up as it has grown quite organically over the
life of this script. Make things a bit more pythonic through the use of
iterators rather than collection indexing, and try to generalize the special
cases of things a bit.

Also catch encoding problems early and fail gracefully rather than blow up
the entire package parser. A failed decode of a file should cause us to just
skip it rather than stop the entire parser.  Worst case, this leaves that
package out of the web interface.

Signed-off-by: Dan McGee <dan@archlinux.org>
2010-09-12 12:32:13 -05:00
..
commands reporead: revamp database parsing code 2010-09-12 12:32:13 -05:00
__init__.py reporead: turn into a django-admin command 2010-02-10 21:30:35 -06:00