yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08135
[Bug 1268094] [NEW] remove unused variables
Public bug reported:
maodouzi:keystone apple$ cat a.txt | grep Unused -B 1
************* Module keystone.common.cache.backends.noop
W: 39,29: Unused variable 'x' (unused-variable)
--
************* Module keystone.common.ldap.core
W:270,16: Unused variable 'attrs' (unused-variable)
W:615,16: Unused variable 'est' (unused-variable)
W:608,12: Unused variable 'rtype' (unused-variable)
W:608,26: Unused variable 'rmsgid' (unused-variable)
--
************* Module keystone.common.sql.migrate_repo.versions.005_set_utf8_character_set
W: 44, 8: Unused variable 'sql' (unused-variable)
--
************* Module keystone.common.utils
W:170,12: Unused variable 'unused_err' (unused-variable)
--
************* Module keystone.contrib.ec2.controllers
W: 59,22: Unused variable '_port' (unused-variable)
W:134, 9: Unused variable 'token_id' (unused-variable)
--
************* Module keystone.identity.backends.ldap
W:345,12: Unused variable 'dn' (unused-variable)
--
************* Module keystone.identity.backends.pam
W: 32,12: Unused variable 'query' (unused-variable)
--
************* Module keystone.identity.core
W:133,15: Unused variable 'd' (unused-variable)
W:385, 8: Unused variable 'domain_id' (unused-variable)
W:428, 8: Unused variable 'domain_id' (unused-variable)
W:441, 8: Unused variable 'domain_id' (unused-variable)
W:447, 8: Unused variable 'domain_id' (unused-variable)
W:477, 8: Unused variable 'domain_id' (unused-variable)
--
************* Module keystone.middleware.s3_token
W:171,41: Unused variable 'obj' (unused-variable)
W:171,30: Unused variable 'container' (unused-variable)
W:171,12: Unused variable 'version' (unused-variable)
--
************* Module keystone.openstack.common.db.sqlalchemy.provision
W:179,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.openstack.common.db.sqlalchemy.utils
W:107,34: Unused variable '_sort_key' (unused-variable)
--
************* Module keystone.openstack.common.importutils
W: 26,13: Unused variable '_sep' (unused-variable)
--
************* Module logging
W:512,13: Unused variable '_sep' (unused-variable)
--
************* Module keystone.openstack.common.policy
W:548,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.openstack.common.rpc.impl_qpid
W:357,17: Unused variable 'dec' (unused-variable)
--
************* Module keystone.openstack.common.rpc.matchmaker
W:139,32: Unused variable 'bit' (unused-variable)
--
************* Module keystone.openstack.common.timeutils
W:133,12: Unused variable 'dt' (unused-variable)
--
************* Module keystone.tests.fakeldap
W: 84, 8: Unused variable '_sep' (unused-variable)
--
************* Module keystone.tests.test_backend
W:589,12: Unused variable 'i' (unused-variable)
W:2851,12: Unused variable 'i' (unused-variable)
W:3064,44: Unused variable 'x' (unused-variable)
W:3166,18: Unused variable 'data' (unused-variable)
W:3302,12: Unused variable 'i' (unused-variable)
W:3311,12: Unused variable 'i' (unused-variable)
W:3320,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_backend_ldap
W:723, 8: Unused variable 'dn' (unused-variable)
--
************* Module keystone.tests.test_keystoneclient
W:935,12: Unused variable 'i' (unused-variable)
W:962,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_keystoneclient_sql
W:154,21: Unused variable 'signature' (unused-variable)
--
************* Module keystone.tests.test_policy
W: 41, 8: Unused variable '_unused' (unused-variable)
--
************* Module keystone.tests.test_v3_auth
W:2249,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_v3_identity
W:892, 8: Unused variable 'ud_url' (unused-variable)
W:885, 8: Unused variable 'unused' (unused-variable)
W:1110, 8: Unused variable 'unused' (unused-variable)
W:1272, 8: Unused variable 'unused' (unused-variable)
W:1348, 8: Unused variable 'unused' (unused-variable)
W:1468, 8: Unused variable 'unused' (unused-variable)
--
************* Module keystone.tests.test_v3_protection
W: 61, 8: Unused variable '_unused' (unused-variable)
--
************* Module keystone.tests.test_v3
W:549,19: Unused variable 'status_created' (unused-variable)
--
************* Module keystone.token.controllers
W:131, 9: Unused variable 'token_id' (unused-variable)
** Affects: keystone
Importance: Undecided
Assignee: Wu Wenxiang (wu-wenxiang)
Status: In Progress
** Changed in: keystone
Assignee: (unassigned) => Wu Wenxiang (wu-wenxiang)
** Changed in: keystone
Status: New => In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1268094
Title:
remove unused variables
Status in OpenStack Identity (Keystone):
In Progress
Bug description:
maodouzi:keystone apple$ cat a.txt | grep Unused -B 1
************* Module keystone.common.cache.backends.noop
W: 39,29: Unused variable 'x' (unused-variable)
--
************* Module keystone.common.ldap.core
W:270,16: Unused variable 'attrs' (unused-variable)
W:615,16: Unused variable 'est' (unused-variable)
W:608,12: Unused variable 'rtype' (unused-variable)
W:608,26: Unused variable 'rmsgid' (unused-variable)
--
************* Module keystone.common.sql.migrate_repo.versions.005_set_utf8_character_set
W: 44, 8: Unused variable 'sql' (unused-variable)
--
************* Module keystone.common.utils
W:170,12: Unused variable 'unused_err' (unused-variable)
--
************* Module keystone.contrib.ec2.controllers
W: 59,22: Unused variable '_port' (unused-variable)
W:134, 9: Unused variable 'token_id' (unused-variable)
--
************* Module keystone.identity.backends.ldap
W:345,12: Unused variable 'dn' (unused-variable)
--
************* Module keystone.identity.backends.pam
W: 32,12: Unused variable 'query' (unused-variable)
--
************* Module keystone.identity.core
W:133,15: Unused variable 'd' (unused-variable)
W:385, 8: Unused variable 'domain_id' (unused-variable)
W:428, 8: Unused variable 'domain_id' (unused-variable)
W:441, 8: Unused variable 'domain_id' (unused-variable)
W:447, 8: Unused variable 'domain_id' (unused-variable)
W:477, 8: Unused variable 'domain_id' (unused-variable)
--
************* Module keystone.middleware.s3_token
W:171,41: Unused variable 'obj' (unused-variable)
W:171,30: Unused variable 'container' (unused-variable)
W:171,12: Unused variable 'version' (unused-variable)
--
************* Module keystone.openstack.common.db.sqlalchemy.provision
W:179,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.openstack.common.db.sqlalchemy.utils
W:107,34: Unused variable '_sort_key' (unused-variable)
--
************* Module keystone.openstack.common.importutils
W: 26,13: Unused variable '_sep' (unused-variable)
--
************* Module logging
W:512,13: Unused variable '_sep' (unused-variable)
--
************* Module keystone.openstack.common.policy
W:548,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.openstack.common.rpc.impl_qpid
W:357,17: Unused variable 'dec' (unused-variable)
--
************* Module keystone.openstack.common.rpc.matchmaker
W:139,32: Unused variable 'bit' (unused-variable)
--
************* Module keystone.openstack.common.timeutils
W:133,12: Unused variable 'dt' (unused-variable)
--
************* Module keystone.tests.fakeldap
W: 84, 8: Unused variable '_sep' (unused-variable)
--
************* Module keystone.tests.test_backend
W:589,12: Unused variable 'i' (unused-variable)
W:2851,12: Unused variable 'i' (unused-variable)
W:3064,44: Unused variable 'x' (unused-variable)
W:3166,18: Unused variable 'data' (unused-variable)
W:3302,12: Unused variable 'i' (unused-variable)
W:3311,12: Unused variable 'i' (unused-variable)
W:3320,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_backend_ldap
W:723, 8: Unused variable 'dn' (unused-variable)
--
************* Module keystone.tests.test_keystoneclient
W:935,12: Unused variable 'i' (unused-variable)
W:962,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_keystoneclient_sql
W:154,21: Unused variable 'signature' (unused-variable)
--
************* Module keystone.tests.test_policy
W: 41, 8: Unused variable '_unused' (unused-variable)
--
************* Module keystone.tests.test_v3_auth
W:2249,12: Unused variable 'i' (unused-variable)
--
************* Module keystone.tests.test_v3_identity
W:892, 8: Unused variable 'ud_url' (unused-variable)
W:885, 8: Unused variable 'unused' (unused-variable)
W:1110, 8: Unused variable 'unused' (unused-variable)
W:1272, 8: Unused variable 'unused' (unused-variable)
W:1348, 8: Unused variable 'unused' (unused-variable)
W:1468, 8: Unused variable 'unused' (unused-variable)
--
************* Module keystone.tests.test_v3_protection
W: 61, 8: Unused variable '_unused' (unused-variable)
--
************* Module keystone.tests.test_v3
W:549,19: Unused variable 'status_created' (unused-variable)
--
************* Module keystone.token.controllers
W:131, 9: Unused variable 'token_id' (unused-variable)
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1268094/+subscriptions
Follow ups
References