# HG changeset patch # User Jeff Hammel # Date 1391617996 28800 # Node ID a43d0205f80bc6d8361ec03fae5a6142f316ffc9 # Parent fd50f457185ce6f5893a24eb2d45a263d29e652c STUB: python/html2flux.py diff -r fd50f457185c -r a43d0205f80b python/html2flux.py --- a/python/html2flux.py Tue Feb 04 14:27:17 2014 -0800 +++ b/python/html2flux.py Wed Feb 05 08:33:16 2014 -0800 @@ -24,6 +24,20 @@ # available executables executables = set([i.rsplit('/', 1)[-1] for i in lsex() ]) +# TODO: next generation +# class HtmlMenu +# def _init__(self, html): +# if isinstance (html, string): +# html = +# for item in html + +# class Command +# classname = '' + +# class Sudo(Command) +# classname = 'sudo' +# programs = (('gksudo',),) + def readmenu(dl, output, top=True): """read menu from an
tag""" # TODO: probably don't really need lxml