Skip to content
This repository was archived by the owner on Jun 28, 2018. It is now read-only.

Commit 473404f

Browse files
committed
Compatibility with the latest brubeck version.
1 parent 20e5e57 commit 473404f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/brubeck/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import logging
55
from brubeck.templating import load_jinja2_env
6+
from brubeck.connections import Mongrel2Connection
67
from brubeck.request_handling import Brubeck
78
from brubeck.templating import Jinja2Rendering
89

@@ -13,7 +14,7 @@ def get(self):
1314

1415

1516
config = {
16-
'mongrel2_pair': ('ipc://127.0.0.1:9999', 'ipc://127.0.0.1:9998'),
17+
'mongrel2_pair': Mongrel2Connection('ipc://127.0.0.1:9999', 'ipc://127.0.0.1:9998'),
1718
'handler_tuples': [(r'^/$', IndexHandler)],
1819
'log_level': logging.DEBUG,
1920
'template_loader': load_jinja2_env('templates'),

0 commit comments

Comments
 (0)