fnp
/
redakcja.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use attr instead of data
[redakcja.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
8
def filter_js(self, js):
9
raise NotImplementedError
10
11
12
class FilterError(Exception):
13
"""
14
This exception is raised when a filter fails
15
"""
16
pass