Remove unused imports and group them
Bug #1218594 reported by
Matt Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Many imports are not used like threading and glob. Similar imports can be grouped too.
This looks better:
import os, sys, platform
import tempfile, shutil, filecmp
import multiprocessing, subprocess
import signal, atexit
import re
import time
import traceback
if sys.version_info < (3, 0):
import urllib2
globals(
else:
import urllib.request
globals(
Changed in raise: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in: bazaar. launchpad. net/~workhorsy/ raise/main/ revision/ 95
http://