Update code_quality/wet/analyze_wet.py

transferred changes from 'common.py'