Incorrect usage of six.moves cStringIO

Bug #1596074 reported by Deklan Dieterly
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
Deklan Dieterly
Mitaka
Fix Committed
Undecided
Unassigned

Bug Description

Seeing this warning in the logs.

freezer-agent.log:2016-06-24 00:18:39,352 root WARNING INI parser error was: 'builtin_function_or_method' object has no attribute 'StringIO'

Fix is to just change

  fd = cStringIO.StringIO(lines)

to
  fd = cStringIO(lines)

Deklan Dieterly (deklan)
Changed in freezer:
status: New → In Progress
assignee: nobody → Deklan Dieterly (deklan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/334075

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (master)

Reviewed: https://review.openstack.org/334075
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=196a93e1af8b85184b6d997450b4474c153ca707
Submitter: Jenkins
Branch: master

commit 196a93e1af8b85184b6d997450b4474c153ca707
Author: Deklan Dieterly <email address hidden>
Date: Fri Jun 24 13:59:27 2016 -0600

    Fix cStringIO usage

    Change cStringIO.StringIO() to cStringIO().

    Change-Id: Ic72fd2d650bdd656d8b0145f1c347f5b79e1d1ec
    Closes-Bug: #1596074

Changed in freezer:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/335088

no longer affects: freezer/mitaka
no longer affects: freezer/newton
Changed in freezer:
milestone: none → newton-3
milestone: newton-3 → newton-2
Changed in freezer:
status: Fix Released → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (stable/mitaka)

Reviewed: https://review.openstack.org/335088
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=5af23eccc1949c7a0919ae442f9cfb27a309247d
Submitter: Jenkins
Branch: stable/mitaka

commit 5af23eccc1949c7a0919ae442f9cfb27a309247d
Author: Deklan Dieterly <email address hidden>
Date: Fri Jun 24 13:59:27 2016 -0600

    Fix cStringIO usage

    Change cStringIO.StringIO() to cStringIO().

    Change-Id: Ic72fd2d650bdd656d8b0145f1c347f5b79e1d1ec
    Closes-Bug: #1596074
    (cherry picked from commit 196a93e1af8b85184b6d997450b4474c153ca707)

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/freezer 3.0.0.0b2

This issue was fixed in the openstack/freezer 3.0.0.0b2 development milestone.

Changed in freezer:
status: Fix Committed → Fix Released
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.