← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1226427] Re: Improvement of "import" statement in template file

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

** Changed in: horizon
    Milestone: None => havana-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1226427

Title:
  Improvement of "import" statement in template file

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In "horizon/conf/panel_template/url.py",  "import" statement contradicts the following coding rule. 
   ・Do not import more than one module per line 
   *)https://github.com/openstack-dev/hacking/blob/master/HACKING.rst

  url.py is used as template file,when "run_test.sh -m startpanel" is
  executed.

  It is desirable to divide an "import" statement in a url.py
  beforehand.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1226427/+subscriptions