Mercurial > ~darius > hgwebdir.cgi > py-iview
diff iview.py @ 5:f2e0787f52b8 default tip
Tidy up output to be clearer.
- Don't bother the user with XML errors & lack of asset tags.
- Print a header for the channel & series lists.
- Inform the user how to navigate the menus.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 21 Aug 2009 13:05:59 +0930 |
parents | f914f08d69f5 |
children |
line wrap: on
line diff
--- a/iview.py Thu Aug 20 17:35:27 2009 +0930 +++ b/iview.py Fri Aug 21 13:05:59 2009 +0930 @@ -87,10 +87,10 @@ try: self.series.append(Series(s)) except ExpatError: - print "Unable to parse XML, skipping" + #print "Unable to parse XML, skipping" continue except NoAsset: - print "No asset tag, skipping" + #print "No asset tag, skipping" continue class IView(object):