Skip to content

Commit

Permalink
Merge pull request #151 from cherba/stable_gen
Browse files Browse the repository at this point in the history
Process schemas in predictable order in codegen.
  • Loading branch information
vilasj authored Apr 18, 2017
2 parents e7254b3 + 9f6062c commit fa2ea1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apitools/gen/gen_client_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, discovery_doc, client_info, names, root_package, outdir,
self.__root_package, self.__base_files_package,
self.__protorpc_package)
schemas = self.__discovery_doc.get('schemas', {})
for schema_name, schema in schemas.items():
for schema_name, schema in sorted(schemas.items()):
self.__message_registry.AddDescriptorFromSchema(
schema_name, schema)

Expand Down

0 comments on commit fa2ea1d

Please sign in to comment.