Skip to content

Commit

Permalink
Determinism improvement to fix the build for Python 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Aug 28, 2019
1 parent f7a435e commit 9ed44c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/elm_fluent/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ def combine_arg_types_master(locale_message_arg_types, message_id):
"""
errors = []
combined = defaultdict(list)
for locale, messages_arg_types in locale_message_arg_types.items():
locales = sorted(locale_message_arg_types.keys())
for locale in locales:
messages_arg_types = locale_message_arg_types[locale]
if message_id not in messages_arg_types:
continue
arg_types = messages_arg_types[message_id] # {arg_name: arg_type}
Expand Down

0 comments on commit 9ed44c9

Please sign in to comment.