Pop instead of get for timeout kwarg

In utils.py execute_with_timeout() method was updated
to do kwargs.pop() instead of kwargs.get()

Closes-Bug: #1292692
Change-Id: Id69e66f5e312a2bd2501bae18ddd050dd4296ff5
This commit is contained in:
Viswa Vutharkar 2014-03-14 15:02:04 -05:00
parent 463fafa399
commit d9383e661c

View File

@ -271,7 +271,7 @@ def get_id_from_href(href):
def execute_with_timeout(*args, **kwargs):
time = kwargs.get('timeout', 30)
time = kwargs.pop('timeout', 30)
def cb_timeout():
msg = (_("Time out after waiting"