##// END OF EJS Templates
api: make jsonrpc registry ordered so doc generation can be ordered
dan -
r617:0bbd3a1b default
parent child Browse files
Show More
@@ -25,6 +25,8 b' import types'
25 25
26 26 import decorator
27 27 import venusian
28 from collections import OrderedDict
29
28 30 from pyramid.exceptions import ConfigurationError
29 31 from pyramid.renderers import render
30 32 from pyramid.response import Response
@@ -480,7 +482,7 b' def includeme(config):'
480 482 plugin_module, config.registry.settings)
481 483
482 484 if not hasattr(config.registry, 'jsonrpc_methods'):
483 config.registry.jsonrpc_methods = {}
485 config.registry.jsonrpc_methods = OrderedDict()
484 486
485 487 # match filter by given method only
486 488 config.add_view_predicate(
General Comments 0
You need to be logged in to leave comments. Login now