]> git.ipfire.org Git - thirdparty/babel.git/commit
Fix CLI regressions (see below for details)
authorAarni Koskela <akx@iki.fi>
Fri, 22 Apr 2016 06:49:32 +0000 (09:49 +0300)
committerAarni Koskela <akx@iki.fi>
Fri, 22 Apr 2016 08:40:42 +0000 (11:40 +0300)
commitfe2e6e4ec4b1e1a73683062d26fb0c8fc36e93b2
tree262fb9efa2479087b79a92c6cf5805a8bdf70630
parentb4d95cd14876882b4c80fc8db4dda88b09eecd4d
Fix CLI regressions (see below for details)

This is a combination of the test suite improvement fbc1648 and the frontend changes in 414aec5..ee8abd6.

* Harmonize extraction keyword parsing between distutils and standalone CLI (#388, #384, #311)
* Don't use unicode-variant %r for logging
* extract: don't die badly when no input paths are specified in optparse mode
* Remind the optparse CLI about `extract -s` (a shorthand for `--strip-comments`) (#390)
* Teach the optparse CLI about the parameter aliases it had forgotten in #311 (#390)
babel/messages/frontend.py
tests/messages/test_frontend.py