Do some pyflakes cleanups.
authorAdam Sampson <ats@offog.org>
Sat, 8 Oct 2005 12:49:36 +0000 (12:49 +0000)
committerAdam Sampson <ats@offog.org>
Sat, 8 Oct 2005 12:49:36 +0000 (12:49 +0000)
NEWS
rawdoglib/plugins.py
rawdoglib/rawdog.py
rawdoglib/upgrade_1_2.py

diff --git a/NEWS b/NEWS
index c1acab6234368afecd7fc80e7d5771f544734436..b1c9e52187601e8a271d112ab13800d52a904b5f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -12,6 +12,8 @@ Make feedparser handle content types and modes in atom:content correctly
 Make feedparser handle the new elements in Atom 1.0 (patch from Decklin
 Foster).
 
+Remove some unnecessary imports found by pyflakes.
+
 - rawdog 2.4
 
 Provide guid in item templates (suggested by Rick van Rein).
index f491b05fd89495c1356001d61a58050702cf9907..16acc6e3883d43c856483c2e444069745da6f0aa 100644 (file)
@@ -16,7 +16,7 @@
 # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA, or see http://www.gnu.org/.
 
-import os, os.path, imp
+import os, imp
 
 class Box:
        """Utility class that holds a mutable value. Useful for passing
index 0db3815b633959d08c70dcdc66fbbabf1fb76ce3..fd9fd4c9c5a0b6aa4689dcd1c21ef25071fd1101 100644 (file)
@@ -20,7 +20,7 @@ VERSION = "2.5rc1"
 STATE_VERSION = 2
 import feedparser, feedfinder, plugins
 from persister import Persistable, Persister
-import os, time, sha, getopt, sys, re, urlparse, cgi, socket, urllib2, calendar
+import os, time, sha, getopt, sys, re, cgi, socket, urllib2, calendar
 import string
 from StringIO import StringIO
 
index a35cab8e8f681357a16e91b238dc4c4340975632..174d8ccbe2318ecf5d93895413905c204f9c2258 100644 (file)
 # Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA, or see http://www.gnu.org/.
 
-import sys, os, time, difflib
+import os, time, difflib
 import cPickle as pickle
-import feedparser
-from rawdog import Rawdog, Article
+from rawdog import Rawdog
 from persister import Persister
 
 def format_time(secs):