Attributeerror: 'tuple' object has no attribute 'vid'

Please, could anyone help me?
This error occurred while executing the flashDfu.py file:
attributeerror: ‘tuple’ object has no attribute ‘vid’

Can you post the output of the following commands:

cd /home/brewpi
python autoSerial.py
git describe

Also please include the full error message with line numbers, that makes it easier for me to find it.