Public bug reported:

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.

** Affects: python-openstackclient (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  This line in shell.py is useless:
  
-   osprofiler_profiler = importutils.try_import("osprofiler.profiler")
+   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 was left uncleaned up. The variable isn't used anywhere in this
- package.
+ above line was left uncleaned up. The variable isn't used anywhere in
+ this package.

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

Title:
  Useless line of code in shell.py

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to