2012-08-16 14:24:02 |
Rongze Zhu |
description |
Remove unused imports
find . -type f -name "*py" -exec pylint -r n {} \; | grep -E "Unused imp|^\*"
************* Module openstack.common.timeutils
W: 24,0: Unused import time
No config file found, using default configuration
************* Module common.sql.migrate_repo.versions.001_add_initial_tables
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 |
Remove unused imports
cd **/keystone/keystone/
find . -type f -name "*py" -exec pylint -r n {} \; | grep -E "Unused imp|^\*"
************* Module openstack.common.timeutils
W: 24,0: Unused import time
No config file found, using default configuration
************* Module common.sql.migrate_repo.versions.001_add_initial_tables
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 |
|