[wmlunits] fix debug message

(time to move this to Python3...)