From 839188d60f1c82d7f4c0297276a76564a9efd43d Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Sun, 22 Apr 2012 22:58:06 +0200 Subject: Removed set_max_articles() function.~ --- source/pyAggr3g470r.py | 28 +--------------------------- source/utils.py | 2 -- 2 files changed, 1 insertion(+), 29 deletions(-) (limited to 'source') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index e8ba1db0..7c4c8fde 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -237,7 +237,7 @@ class Root: return html + "" - def management(self, max_nb_articles=5): + def management(self): """ Management page. Allows adding and deleting feeds. Export functions of the MongoDB data base @@ -282,18 +282,6 @@ class Root: html += """
\n
\n""" html += """
\n
\n""" - - html += '
\n' - html += "For each feed only load the " - html += """\n""" % (max_nb_articles) - html += " last articles." - if utils.MAX_NB_ARTICLES == -1: - html += "
All articles are currently loaded.\n" - else: - html += "
For each feed only " + str(utils.MAX_NB_ARTICLES) + " articles are currently loaded. " - html += 'Load all articles.
\n' - html += "
\n" - # Export functions html += "

Export articles

\n\n" html += """