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 sys
|
||||||
import os
|
import os
|
||||||
import rclexecm
|
import rclexecm
|
||||||
from chm import chm,chmlib
|
try:
|
||||||
from HTMLParser import HTMLParser
|
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):
|
class ChmTopicsParser(HTMLParser):
|
||||||
"""Parse the chm's Topic file which is basically
|
"""Parse the chm's Topic file which is basically
|
||||||
|
|||||||
@ -1,7 +1,11 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import rclexecm
|
import rclexecm
|
||||||
from icalendar import Calendar, Event
|
try:
|
||||||
|
from icalendar import Calendar, Event
|
||||||
|
except:
|
||||||
|
print "RECFILTERROR HELPERNOTFOUND python:icalendar"
|
||||||
|
exit(1);
|
||||||
|
|
||||||
class IcalExtractor:
|
class IcalExtractor:
|
||||||
def __init__(self, em):
|
def __init__(self, em):
|
||||||
|
|||||||
@ -83,7 +83,7 @@ umask 77
|
|||||||
# !! Leave the following line unmodified !
|
# !! Leave the following line unmodified !
|
||||||
#ENDRECFILTCOMMONCODE
|
#ENDRECFILTCOMMONCODE
|
||||||
|
|
||||||
checkcmds awk
|
checkcmds sed
|
||||||
echo '<html><head><title></title></head><body><pre>'
|
echo '<html><head><title></title></head><body><pre>'
|
||||||
|
|
||||||
sed -e 's/\&/\&/g' -e 's/</\</g' "$infile"
|
sed -e 's/\&/\&/g' -e 's/</\</g' "$infile"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user