You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
465 B
21 lines
465 B
9 years ago
|
# -*- coding: utf-8 -*-
|
||
|
from __future__ import unicode_literals
|
||
|
# Erik Stein <code@classlibrary.net>, 2016
|
||
|
|
||
|
|
||
|
class Noop(object):
|
||
|
def process(self, source):
|
||
|
result = source
|
||
|
return result
|
||
|
|
||
|
|
||
|
class Placeholder(object):
|
||
|
def __init__(self, label_text="placeholder"):
|
||
|
# The label text is intentionally not translated
|
||
|
self.label_text = label_text
|
||
|
|
||
|
def process(self, source):
|
||
|
# Ignore source
|
||
|
raise NotImplemented
|
||
|
|