diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 22:01:30 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-11 22:01:30 +0100 |
commit | e6aaecda70a2d747c97a88ef0fa793724feead30 (patch) | |
tree | 7ddc4887d17816571bfe7035096ef35e63c17f01 /source/search.py | |
parent | Removed import of re in search.html. (diff) | |
download | newspipe-e6aaecda70a2d747c97a88ef0fa793724feead30.tar.gz newspipe-e6aaecda70a2d747c97a88ef0fa793724feead30.tar.bz2 newspipe-e6aaecda70a2d747c97a88ef0fa793724feead30.zip |
Removed search.py.
Diffstat (limited to 'source/search.py')
-rw-r--r-- | source/search.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/source/search.py b/source/search.py deleted file mode 100644 index 582108ae..00000000 --- a/source/search.py +++ /dev/null @@ -1,20 +0,0 @@ -#! /usr/bin/env/python -# -*- coding: utf-8 -*- - -import utils - -class Search(object): - """ - """ - def __init__(self): - self.terms = {} - - def index(self): - pass - - def search(self, word): - result = [] - for term, texts in self.terms.items(): - if word in term: - result.extend(text) - return result
\ No newline at end of file |