Resource creation modifies passed dict

Bug #1276310 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python client library for Sahara
Fix Released
Low
Andrew Lazarev

Bug Description

Base Resource class modifies passed dict in __init__ method. This is not something clients could expect.

summary: - [client] Resource creation modifies passed dict
+ Resource creation modifies passed dict
affects: savanna → python-savannaclient
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-savannaclient (master)

Reviewed: https://review.openstack.org/71086
Committed: https://git.openstack.org/cgit/openstack/python-savannaclient/commit/?id=2c6e2a57a8f141af34fa919e4346658ce863a5b7
Submitter: Jenkins
Branch: master

commit 2c6e2a57a8f141af34fa919e4346658ce863a5b7
Author: Andrew Lazarev <email address hidden>
Date: Wed Feb 5 17:55:21 2014 -0800

    Changed base Resource class to prevent changing of passed arguments

    +added unit tests.

    Closes-Bug: #1276310
    Change-Id: I572a56a0c0735a62670fd9aaa53fdbc881254a8e

Changed in python-savannaclient:
status: New → Fix Committed
Changed in python-savannaclient:
importance: Undecided → Low
assignee: nobody → Andrew Lazarev (alazarev)
milestone: none → 0.5.0
Changed in python-savannaclient:
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.