summaryrefslogtreecommitdiff
path: root/media/airvm_button.jpg
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-12 12:24:23 -0500
committerDan McGee <dan@archlinux.org>2010-09-12 12:32:13 -0500
commit5ca2cea388862a507484e0375edf36972cb389ef (patch)
tree207b3fc50ce9903fdec9813cc4198f6505135ae8 /media/airvm_button.jpg
parent51fca0c98db75629ff7dd26330ff40211554e6e6 (diff)
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>
Diffstat (limited to 'media/airvm_button.jpg')
0 files changed, 0 insertions, 0 deletions