Be consistent about imports of external modules (spotted by pylint).
authorAdam Sampson <ats@offog.org>
Sat, 31 Jan 2015 16:43:08 +0000 (16:43 +0000)
committerAdam Sampson <ats@offog.org>
Sat, 31 Jan 2015 16:43:08 +0000 (16:43 +0000)
rawdoglib/plugins.py
rawdoglib/rawdog.py

index 9ac0803c36092effbf492dc9d646ccddd69dc285..8f8d620b8cb12c6650e8c883db07121e307fca6b 100644 (file)
@@ -20,7 +20,8 @@
 # Vellum weblog system:
 #   http://www.kryogenix.org/code/vellum/
 
-import os, imp
+import imp
+import os
 
 class Box:
        """Utility class that holds a mutable value. Useful for passing
index d07c84847d5844879df98f85e8840aabfded9e00..57376bfdabfe1e20fd0befb01793b5223a16504a 100644 (file)
@@ -24,14 +24,23 @@ import rawdoglib.feedscanner
 from rawdoglib.persister import Persistable, Persister
 from rawdoglib.plugins import Box, call_hook, load_plugins
 
-import feedparser
-import os, time, getopt, sys, re, cgi, socket, urllib2, calendar
-import string, locale
 from StringIO import StringIO
-import types
-import threading
-import hashlib
 import base64
+import calendar
+import cgi
+import feedparser
+import getopt
+import hashlib
+import locale
+import os
+import re
+import socket
+import string
+import sys
+import threading
+import time
+import types
+import urllib2
 
 try:
        import tidylib