2016-11-04 21:18:03 |
Richard G. Pioso |
description |
Seen in stable/newton.
The python-dracclient job resource's JobManagement.get_job() causes a FutureWarning. When that function is called, the following is output.
/usr/lib/python2.7/site-packages/dracclient/resources/job.py:103: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if drac_job:
The fix is straightforward. Change the line to
if drac_job is not None: |
The python-dracclient job resource's JobManagement.get_job() causes a FutureWarning. When that function is called, the following is output.
/usr/lib/python2.7/site-packages/dracclient/resources/job.py:103: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
if drac_job:
The fix is straightforward. Change the line to
if drac_job is not None: |
|