napalm-automation / napalm-junos

Apache License 2.0
22 stars 42 forks source link

suppress FutureWarning #218

Closed ckishimo closed 6 years ago

ckishimo commented 6 years ago

This fixes the FutureWarning

/junos.py:763: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if not txt:
{
    "show configuration protocols bgp | append file": "<Element abort at 0x7f27ce5cf830>"
}
coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 78.3% when pulling af09e494b9f83acd1cd59036413afee49deb1cf6 on ckishimo:devel-config into ab33fbc685ab89750abf541ffd89575fd6b5b3ff on napalm-automation:develop.