swift-recon object auditor type error
Bug #1329785 reported by
Christopher Bartz
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Christian Schwede |
Bug Description
We upgraded swift to the current icehouse release (1.13.1-1). We use python 2.6.
When calling swift-recon --auditor, the program crashes with the error message
"TypeError: unsupported operand type(s) for +: int and generator" .
The reason lies in the fact that generator functions are stored in recon.py (lines 574-583). When I rewrite the line
stats[atime] = [(self.
to
stats[atime] = [x for s in [(self.
the program runs without errors.
Changed in swift: | |
status: | New → Confirmed |
assignee: | nobody → Christian Schwede (cschwede) |
tags: | added: icehouse-backport-potential |
Changed in swift: | |
status: | In Progress → Fix Committed |
Changed in swift: | |
milestone: | none → 2.3.0-rc1 |
status: | Fix Committed → Fix Released |
Changed in swift: | |
milestone: | 2.3.0-rc1 → 2.3.0 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/100058
Review: https:/