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

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

View File

@ -1,7 +1,11 @@
#!/usr/bin/env python
import rclexecm
from icalendar import Calendar, Event
try:
from icalendar import Calendar, Event
except:
print "RECFILTERROR HELPERNOTFOUND python:icalendar"
exit(1);
class IcalExtractor:
def __init__(self, em):

View File

@ -83,7 +83,7 @@ umask 77
# !! Leave the following line unmodified !
#ENDRECFILTCOMMONCODE
checkcmds awk
checkcmds sed
echo '<html><head><title></title></head><body><pre>'
sed -e 's/\&/\&amp;/g' -e 's/</\&lt;/g' "$infile"