aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2010-07-05 21:16:48 +0200
committercedricbonhomme <devnull@localhost>2010-07-05 21:16:48 +0200
commite4d398bb7fc17073478d15518e316cf08c57fcfb (patch)
treea5974e863a27ec2fa7075f1c3b371626200eb6f1
parentStupid bug fix. (diff)
downloadnewspipe-e4d398bb7fc17073478d15518e316cf08c57fcfb.tar.gz
newspipe-e4d398bb7fc17073478d15518e316cf08c57fcfb.tar.bz2
newspipe-e4d398bb7fc17073478d15518e316cf08c57fcfb.zip
Removed useless __future__ import
-rwxr-xr-xfeedgetter.py2
-rwxr-xr-xpyAggr3g470r.py2
-rwxr-xr-xutils.py2
3 files changed, 1 insertions, 5 deletions
diff --git a/feedgetter.py b/feedgetter.py
index 3f44fdcb..bea01d28 100755
--- a/feedgetter.py
+++ b/feedgetter.py
@@ -1,8 +1,6 @@
#! /usr/local/bin/python
#-*- coding: utf-8 -*-
-from __future__ import with_statement
-
__author__ = "Cedric Bonhomme"
__version__ = "$Revision: 0.9 $"
__date__ = "$Date: 2010/04/15 $"
diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py
index 9fee1896..abe1624c 100755
--- a/pyAggr3g470r.py
+++ b/pyAggr3g470r.py
@@ -195,7 +195,7 @@ class Root:
if self.articles:
html += "<h1>Delete Feeds</h1>\n"
html += """<form method=get action="/remove_feed/"><select name="feed_id">\n"""
- for feed_id in self.articles.keys():
+ for feed_id in self.feeds.keys():
html += """\t<option value="%s">%s</option>\n""" % \
(feed_id, self.feeds[feed_id][3].encode('utf-8'))
html += """</select><input type="submit" value="OK"></form>\n"""
diff --git a/utils.py b/utils.py
index 26e270a6..24291812 100755
--- a/utils.py
+++ b/utils.py
@@ -1,8 +1,6 @@
#! /usr/local/bin/python
#-*- coding: utf-8 -*-
-from __future__ import with_statement
-
__author__ = "Cedric Bonhomme"
__version__ = "$Revision: 0.8 $"
__date__ = "$Date: 2010/07/05 $"
bgstack15