DecommissionError cannot be raised with default message

Bug #1355084 reported by Andrey Pavlov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Low
Andrey Pavlov

Bug Description

DecommissionError (from sahara/plugins/general/exceptions.py) cannot be raised without arguments (with default message):

  File "/home/kshatrix/sahara/sahara/tests/integration/tests/gating/test_fake_gating.py", line 12, in method
    raise ex.DecommissionError()
TypeError: __init__() takes exactly 2 arguments (1 given)

Changed in sahara:
assignee: nobody → Pavlov Andrey (apavlov-n)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

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

Changed in sahara:
status: New → In Progress
Changed in sahara:
milestone: none → juno-3
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/113200
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=84b5465ea3e74bc929d2d00646ef0d360d00515d
Submitter: Jenkins
Branch: master

commit 84b5465ea3e74bc929d2d00646ef0d360d00515d
Author: Andrey Pavlov <email address hidden>
Date: Mon Aug 11 13:41:23 2014 +0400

    Fixed DecommissionError bug

    DecommissionError now can be raised without arguments
    (with default message).

    Change-Id: I4f8817b3cd6e58384438cb1a6444efbff0f1047b
    Closes-bug: #1355084

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-3 → 2014.2
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.