emit helpernotfound

This commit is contained in:
dockes
2009-11-14 10:25:12 +00:00
parent 6ef7b546f2
commit b8b7cbb850
3 changed files with 17 additions and 4 deletions
+11 -2
View File
@@ -5,8 +5,17 @@ Needs at least python 2.2 for HTMLParser (chmlib needs 2.2 too)"""
import sys
import os
import rclexecm
from chm import chm,chmlib
from HTMLParser import HTMLParser
try:
from chm import chm,chmlib
except:
print "RECFILTERROR HELPERNOTFOUND python:chm"
exit(1);
try:
from HTMLParser import HTMLParser
except:
print "RECFILTERROR HELPERNOTFOUND python:HTMLParser"
exit(1);
class ChmTopicsParser(HTMLParser):
"""Parse the chm's Topic file which is basically