Inproper use of map in nailgun.objects.cluster.py

Bug #1567849 reported by Krzysztof Szukiełojć
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Krzysztof Szukiełojć

Bug Description

Detailed bug description:
In nailgun.objects.cluster.py and many other places there is inproper usage of map() which will not work in python3. It should be change to for loops.

Steps to reproduce:
Example see nailgun.objects.cluster.py in fuel-web

Expected results:
No usages of map in nailgun.objects.cluster.py and in other places in fuel-web.

Actual result:
Inproper usage of map in nailgun.objects.cluster.py and in other places in fuel-web

Changed in fuel:
milestone: none → 10.0
description: updated
description: updated
description: updated
description: updated
Changed in fuel:
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/305023
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=442a143c11707e20aef87fa73ed1257fcd638edf
Submitter: Jenkins
Branch: master

commit 442a143c11707e20aef87fa73ed1257fcd638edf
Author: Krzysztof Szukiełojć <email address hidden>
Date: Wed Apr 13 09:47:38 2016 +0200

    Replacing improper map usage.

    Replacing map with for loops or list comprehensions in areas
    where they where used improper.

    Change-Id: I094abb3c6ec3c041f0fff6aed0c456158e1cc8f7
    Closes-Bug: 1567849

Changed in fuel:
status: In Progress → Fix Committed
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.