From b1fffc3a1b2dbbb807213b85f538e59251b9bf35 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 28 Mar 2014 22:32:14 +0100 Subject: Remove bad whitespaces Merged vuolter/pyload@00288e6 --- module/lib/bottle.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'module/lib/bottle.py') diff --git a/module/lib/bottle.py b/module/lib/bottle.py index 2c243278e..f4e93de9d 100644 --- a/module/lib/bottle.py +++ b/module/lib/bottle.py @@ -298,13 +298,13 @@ class Router(object): def path_filter(self, conf): return r'.*?', None, None - + def add_filter(self, name, func): ''' Add a filter. The provided function is called with the configuration string as parameter and must return a (regexp, to_python, to_url) tuple. The first element is a string, the last two are callables or None. ''' self.filters[name] = func - + def parse_rule(self, rule): ''' Parses a rule into a (name, filter, conf) token stream. If mode is None, name contains a static rule part. ''' @@ -2422,10 +2422,10 @@ class FileCheckerThread(threading.Thread): thread.interrupt_main() break time.sleep(self.interval) - + def __enter__(self): self.start() - + def __exit__(self, exc_type, exc_val, exc_tb): if not self.status: self.status = 'exit' # silent exit self.join() -- cgit v1.2.3