[Bug 1707103] Re: Useless line of code in shell.py

Huan Xiong 1707103 at bugs.launchpad.net
Fri Jul 28 03:19:03 UTC 2017


** Description changed:

  This line in shell.py is useless:
  
    osprofiler_profiler = importutils.try_import("osprofiler.profiler")
  
  It was introduced in commit 16f00833 where it was useful. Most code in
  that commit was later moved to osc-lib in commit 6a15f90d. However, the
- above line was left uncleaned up. The variable isn't used anywhere in
- this package.
+ above line was left uncleaned up.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1707103

Title:
  Useless line of code in shell.py

Status in python-openstackclient package in Ubuntu:
  New

Bug description:
  This line in shell.py is useless:

    osprofiler_profiler = importutils.try_import("osprofiler.profiler")

  It was introduced in commit 16f00833 where it was useful. Most code in
  that commit was later moved to osc-lib in commit 6a15f90d. However,
  the above line was left uncleaned up.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1707103/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list