X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/c9d3523aec7eee7941162e598dd1c9dc500809e6..3eefa8b40b56992b0c96cf085ef9a6059b7c7fc4:/pymin/dispatcher.py?ds=sidebyside diff --git a/pymin/dispatcher.py b/pymin/dispatcher.py index 0127d4f..10e7fb8 100644 --- a/pymin/dispatcher.py +++ b/pymin/dispatcher.py @@ -459,7 +459,8 @@ class Dispatcher: pl = '' if n_ok > 1: pl = 's' - raise WrongArgumentsError(u'%s takes %s %s argument%s, %s given' + raise WrongArgumentsError( + u'Command "%s" takes %s %s argument%s, %s given.' % (handler.__name__, quant, n_ok, pl, n_bad)) raise