musicbrainz/picard — pull request #21 by mineo (2012-01-16 15:03:32+00:00)
Title: script: Check the number of arguments passed to a function

Fixes http://tickets.musicbrainz.org/browse/PICARD-109. The suggested approach was to solve this specifically for the $if() function but I think this general approach works better.