Show More
@@ -25,6 +25,8 b' import types' | |||||
25 |
|
25 | |||
26 | import decorator |
|
26 | import decorator | |
27 | import venusian |
|
27 | import venusian | |
|
28 | from collections import OrderedDict | |||
|
29 | ||||
28 | from pyramid.exceptions import ConfigurationError |
|
30 | from pyramid.exceptions import ConfigurationError | |
29 | from pyramid.renderers import render |
|
31 | from pyramid.renderers import render | |
30 | from pyramid.response import Response |
|
32 | from pyramid.response import Response | |
@@ -480,7 +482,7 b' def includeme(config):' | |||||
480 | plugin_module, config.registry.settings) |
|
482 | plugin_module, config.registry.settings) | |
481 |
|
483 | |||
482 | if not hasattr(config.registry, 'jsonrpc_methods'): |
|
484 | if not hasattr(config.registry, 'jsonrpc_methods'): | |
483 |
config.registry.jsonrpc_methods = |
|
485 | config.registry.jsonrpc_methods = OrderedDict() | |
484 |
|
486 | |||
485 | # match filter by given method only |
|
487 | # match filter by given method only | |
486 | config.add_view_predicate( |
|
488 | config.add_view_predicate( |
General Comments 0
You need to be logged in to leave comments.
Login now