python-dracclient/dracclient
Richard Pioso 5235cdf4b3 JobManagement.get_job() causes FutureWarning
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:

Change the identified line as suggested by the warning.

Change-Id: I9624b76cbf2e195f387ba104c98ae922619aa1f2
Closes-Bug: #1639339
2016-11-04 17:01:21 -04:00
..
resources JobManagement.get_job() causes FutureWarning 2016-11-04 17:01:21 -04:00
tests Merge "Don't assume FQDD naming" 2016-11-02 17:50:11 +00:00
__init__.py Initial commit 2015-08-03 10:50:50 +02:00
client.py Use InstanceId as unique attribute identifier rather than name 2016-10-27 12:38:31 -07:00
constants.py Make object attribute names and values consistent 2016-08-10 10:48:36 +02:00
exceptions.py Add power management 2015-11-10 10:05:21 +01:00
utils.py Allow missing flags on inventory.CPU 2016-08-10 10:47:38 +02:00
wsman.py Add support for lists in wsman properties 2015-10-08 10:46:47 +02:00