← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1482588] Re: List creation could be rewritten as a list literal

 

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

** Changed in: glance
    Milestone: None => liberty-rc1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1482588

Title:
  List creation could be rewritten as a list literal

Status in Glance:
  Fix Released

Bug description:
  In sqlalchemy/artifacts.py --> _out method, list "deparr' is created
  as below.

  deparr = []
  deparr.append(_out(dep.dest, new_show_level))

  could be rewritten as

  deparr = [_out(dep.dest, new_show_level)]

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


References