Project

General

Profile

Actions

Bug #26830

closed

ceph-disk: extract_parted_partinion_numbers does not return a list in python3

Added by Alexander Graul over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The move from python2 to python3 changed behavior of the built-in function map(). Instead of returning a list, an iterator ("map object") is now returned.
Depending code is expecting a list.

Actions #1

Updated by Nathan Cutler over 5 years ago

  • Status changed from New to Fix Under Review
  • Backport set to luminous
Actions #2

Updated by Nathan Cutler over 5 years ago

  • Assignee set to Alexander Graul
Actions #3

Updated by Yuri Weinstein over 5 years ago

Nathan Cutler wrote:

mimic PR: https://github.com/ceph/ceph/pull/23392

merged

Actions #4

Updated by Nathan Cutler over 5 years ago

  • Status changed from Fix Under Review to Resolved
  • Backport deleted (luminous)
Actions

Also available in: Atom PDF