Make sure data is sane before dereference
Make sure data is sane before dereference

I was seeing a case where data was being passed in as None
and causing an exception.  So to be safe, make sure data
is a value before calling data.strip()

rdobson/python-hwinfo