emit helpernotfound
This commit is contained in:
parent
6ef7b546f2
commit
b8b7cbb850
@ -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
|
||||
|
||||
@ -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):
|
||||
|
||||
@ -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/\&/\&/g' -e 's/</\</g' "$infile"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user