Bug #24370
Python None Type Comparison
Start date:
05/01/2020
Due date:
% Done:
0%
Estimated time:
Description
When comparing acnet objects to None type, we get an error because None type does not have a value.
Error: 'NoneType' object has no attribute 'value'
data_done = [None] * len(devicelist)
data_done[event_response.tag] = event_response.status
if data_done.count(None) == 0: #Line that gives the error.