diff -r 3fbcd3d9b2d1 -r 7563dc4ed8d5 gmyth-stream/server/0.3/lib/utils.py --- a/gmyth-stream/server/0.3/lib/utils.py Tue May 29 21:24:48 2007 +0100 +++ b/gmyth-stream/server/0.3/lib/utils.py Tue Aug 07 16:00:49 2007 +0100 @@ -15,7 +15,8 @@ log = logging.getLogger("gms.utils") -__all__ = ("which", "load_plugins", "PluginSet", "getHTML") +__all__ = ("which", "load_plugins", "PluginSet", "getHTML", + "progress_bar", "create_tid", "list_media_files") def which(app): """Function to implement which(1) unix command""" @@ -165,7 +166,7 @@ return "
  • %s
  • \n" % opt # _create_html_item -def progress_bar(log, value, max, barsize): +def progress_bar(value, max, barsize): """Creates and displays a progressbar. By OSantana""" chars = int(value * barsize / float(max)) percent = int((value / float(max)) * 100) @@ -186,3 +187,5 @@ tid = last_tid + 1 return tid # create_id() + +