diff options
author | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-26 06:55:44 (GMT) |
---|---|---|
committer | Aneesh Dogra <lionaneesh@gmail.com> | 2012-12-26 06:55:44 (GMT) |
commit | c323f7ebc0be6b2ecab4d84e9399eb5c7ca8fd11 (patch) | |
tree | e73b737a21fc15e14c1cfa0e4ab862ccdc3075a5 | |
parent | d6e91536ec016f743f55195067c105a3515bd14a (diff) |
Remove unused code.
-rw-r--r-- | JournalExport.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/JournalExport.py b/JournalExport.py index 3002647..72d85c5 100644 --- a/JournalExport.py +++ b/JournalExport.py @@ -71,16 +71,3 @@ class JournalExport: def search(self, article_title): return self.wikidb.dataretriever.search(article_title) - - def getRawArticle(self, title): - - # Retrieve article text, recursively following #redirects. - if title == '': - return '' - - article_text = \ - self.dataretriever.get_text_article(title).decode('utf-8') - - # Stripping leading & trailing whitespace fixes template expansion. - article_text = article_text.lstrip() - article_text = article_text.rstrip() |