Remove unused imports
Bug #1037578 reported by
Rongze Zhu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Wishlist
|
Rongze Zhu | ||
openstack-common |
Fix Released
|
Undecided
|
Rongze Zhu |
Bug Description
Remove unused imports
cd **/keystone/
find . -type f -name "*py" -exec pylint -r n {} \; | grep -E "Unused imp|^\*"
************* Module openstack.
W: 24,0: Unused import time
No config file found, using default configuration
************* Module common.
W: 17,0: Unused import UsageError from wildcard import
W: 18,0: Unused import text from wildcard import
................
************* Module common.cms
W: 2,0: Unused import stat
W: 1,0: Unused import os
************* Module common.utils
W: 27,0: Unused import sys
Changed in keystone: | |
importance: | Undecided → Wishlist |
milestone: | none → folsom-rc1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | folsom-rc1 → 2012.2 |
Changed in openstack-common: | |
milestone: | none → 2012.2 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
cd **/openstack- common/ openstack/
find . -type f -name "*py" -exec pylint -r n {} \; | grep -E "Unused imp|^\*"
************* Module common. plugin. pluginmanager
W: 16,0: Unused import imp
W: 17,0: Unused import os
************* Module common.rpc.common
W: 25,0: Unused import cfg
W: 22,0: Unused import sys
************* Module common.notifier.api
W: 16,0: Unused import inspect