fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Oznaczenie linków przekazywanych do book_short.html i fragment_short.html jako safe_s...
[wolnelektury.git]
/
apps
/
compress
/
filter_base.py
1
class FilterBase:
2
def __init__(self, verbose):
3
self.verbose = verbose
4
5
def filter_css(self, css):
6
raise NotImplementedError
7
def filter_js(self, js):
8
raise NotImplementedError
9
10
class FilterError(Exception):
11
"""
12
This exception is raised when a filter fails
13
"""
14
pass