]> git.ipfire.org Git - thirdparty/babel.git/commit
Fix extraction order 424/head
authorNicolas Grilly <nicolas@gardentechno.com>
Fri, 24 Jun 2016 19:49:06 +0000 (21:49 +0200)
committerNicolas Grilly <nicolas@gardentechno.com>
Fri, 24 Jun 2016 20:06:46 +0000 (22:06 +0200)
commitd0dfcdb36ec9eda26e7647b9796d5a2ce27f4c26
treeb81788d7f2270bc64a1ea146a2a2c2859c92dd24
parent5fe694b57ef730c4154f77a78c5dbe819c6298a5
Fix extraction order

Before Babel 2.3, the input directories were always extracted
in the order specified by the command line arguments.

For example, `pybabel extract dir_a dir_b dir_c` would process
`dir_a` first, then `dir_b`, and finally `dir_c`.

Since Babel 2.3, the inputs are stored in a Python dictionary,
and we loop over items in the dictionary using items().
This makes the order unspecified, not matching the order
specified on the command line anymore.
babel/messages/frontend.py