# HG changeset patch # User Jeff Hammel # Date 1596644834 25200 # Node ID 3b7f670218772eae9396830dee14230aa332a78a # Parent c26ec5ea9b9a9e3fb215cd6d65ffd558ca279c67 python3 diff -r c26ec5ea9b9a -r 3b7f67021877 python/html2flux.py --- a/python/html2flux.py Wed Aug 05 09:20:51 2020 -0700 +++ b/python/html2flux.py Wed Aug 05 09:27:14 2020 -0700 @@ -119,11 +119,11 @@ # print [submenu] tag for this menu name = name or '' if not top: - print >> output, '[submenu] (%s)' % name + output.write('[submenu] (%s)\n' % name) # print menu items for name, item in menu: - if isinstance(item, basestring): + if isinstance(item, string): # command print >> output, '[exec] (%s) {%s}' % (name, item) else: