branch | trunk |
changeset 692 | d9c6cce2b167 |
parent 653 | 3433df0d6ae3 |
1.1 --- a/gmyth-stream/server/0.2/lib/utils.py Tue May 15 18:25:19 2007 +0100 1.2 +++ b/gmyth-stream/server/0.2/lib/utils.py Fri May 18 21:15:39 2007 +0100 1.3 @@ -160,6 +160,10 @@ 1.4 1.5 # getHTML 1.6 1.7 +def _create_html_item(opt): 1.8 + return "<li>%s</li>\n" % opt 1.9 +# _create_html_item 1.10 + 1.11 def progress_bar(log, value, max, barsize): 1.12 chars = int(value * barsize / float(max)) 1.13 percent = int((value / float(max)) * 100)