remove unused variables

Bug #1268234 reported by Wu Wenxiang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo-incubator
Fix Released
Undecided
Wu Wenxiang

Bug Description

************* Module openstack.common.config.generator
W:121, 8: Unused variable 'key' (unused-variable)
W:135, 8: Unused variable 'key' (unused-variable)
W:184,15: Unused variable 'port' (unused-variable)
--
************* Module openstack.common.db.sqlalchemy.provision
W:181,12: Unused variable 'i' (unused-variable)
--
************* Module openstack.common.db.sqlalchemy.utils
W:107,34: Unused variable '_sort_key' (unused-variable)
--
************* Module openstack.common.funcutils
W: 50,14: Unused variable 'varargs' (unused-variable)
W: 50,23: Unused variable 'keywords' (unused-variable)
--
************* Module openstack.common.importutils
W: 26,13: Unused variable '_sep' (unused-variable)
--
************* Module logging
W:512,13: Unused variable '_sep' (unused-variable)
--
************* Module openstack.common.memorycache
W: 63,22: Unused variable '_value' (unused-variable)
--
************* Module openstack.common.middleware.notifier
W:120,16: Unused variable 'exc_type' (unused-variable)
--
************* Module openstack.common.policy
W:548,12: Unused variable 'i' (unused-variable)
--
************* Module openstack.common.rootwrap.filters
W:105, 8: Unused variable 'command' (unused-variable)
--
************* Module openstack.common.rpc.impl_qpid
W:357,17: Unused variable 'dec' (unused-variable)
--
************* Module openstack.common.rpc.matchmaker
W:139,32: Unused variable 'bit' (unused-variable)
--
************* Module openstack.common.timeutils
W:139,12: Unused variable 'dt' (unused-variable)
--
************* Module tests.unit.apiclient.test_auth
W:161,14: Unused variable '_args' (unused-variable)
--
************* Module tests.unit.db.sqlalchemy.test_utils
W:209,12: Unused variable 'key' (unused-variable)
W:236,12: Unused variable 'key' (unused-variable)
W:275,12: Unused variable 'key' (unused-variable)
W:308,12: Unused variable 'key' (unused-variable)
W:322,12: Unused variable 'key' (unused-variable)
W:433,12: Unused variable 'key' (unused-variable)
--
************* Module tests.unit.middleware.test_sizelimit
W: 48,12: Unused variable 'bytes_read' (unused-variable)
W: 57,12: Unused variable 'bytes_read' (unused-variable)
--
************* Module tests.unit.rpc.amqp
W: 62,12: Unused variable 'x' (unused-variable)
W: 86, 8: Unused variable 'remove_unique_id' (unused-variable)
--
************* Module tests.unit.rpc.test_zmq
W: 46, 4: Unused variable 'addr' (unused-variable)
--
************* Module tests.unit.test_fileutils
W: 56, 8: Unused variable 'fresh' (unused-variable)
--
************* Module tests.unit.test_funcutils
W:127,12: Unused variable '_i' (unused-variable)
--
************* Module tests.unit.test_lockutils
W: 95,20: Unused variable 'x' (unused-variable)
W:182,16: Unused variable 'i' (unused-variable)
W:172,16: Unused variable 'n' (unused-variable)
--
************* Module tests.unit.test_policy
W:852,17: Unused variable '_sep' (unused-variable)
--
************* Module tests.unit.test_service
W:100, 8: Unused variable 'pid' (unused-variable)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo-incubator (master)

Fix proposed to branch: master
Review: https://review.openstack.org/66148

Changed in oslo:
assignee: nobody → Wu Wenxiang (wu-wenxiang)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo-incubator (master)

Reviewed: https://review.openstack.org/66148
Committed: https://git.openstack.org/cgit/openstack/oslo-incubator/commit/?id=dd9aa2b3c4f9e88339b8e590056261d12a51d131
Submitter: Jenkins
Branch: master

commit dd9aa2b3c4f9e88339b8e590056261d12a51d131
Author: Wu Wenxiang <wu.wenxiang@99cloud.net>
Date: Sun Jan 12 08:49:16 2014 +0800

    Remove unused variables

    Refactor codes, remove unused variables. This patch is the first step.
    F841 check in tox.ini will be enabled to make sure that there are no
    userd variables in project anymore.

    Change-Id: I3edd5bb5e3c203d1d3d92261ed74a201878d6f5a
    Partial-Bug: #1268234

Changed in oslo:
milestone: none → icehouse-2
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in oslo:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in oslo:
milestone: icehouse-2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.