Comment 2 for bug 1634986

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

Reviewed: https://review.openstack.org/388832
Committed: https://git.openstack.org/cgit/openstack/osc-lib/commit/?id=fe8b2a798d08df5b6dc5b00c9866932edf0f9a67
Submitter: Jenkins
Branch: master

commit fe8b2a798d08df5b6dc5b00c9866932edf0f9a67
Author: Jesse Keating <email address hidden>
Date: Wed Oct 19 10:50:53 2016 -0700

    Avoid string actions on non-string objects

    When config is coming from a clouds.yaml file, Python's yaml parser may
    turn the version into an int if it is not quoted in the yaml. Ensure
    that we set the value to a string before interacting with it.

    Also fix a possible string action on a None object.

    Change-Id: Ibf02a85d89c95ba76688b3f5c417f861173008d5
    Closes-Bug: #1634986