# HG changeset patch # User Christophe de Vienne # Date 1407344792 -7200 # Node ID a8aaff87c1fc5e5a146ace4f51d9350c2a79beda # Parent 855219da7c70a620816001b27418f7de337223c0 Use registry['cubicweb.registry'] instead of registry['cubicweb.appli'].vreg because the application may not be present. Related to #4291173 diff -r 855219da7c70 -r a8aaff87c1fc pyramid_cubicweb/core.py --- a/pyramid_cubicweb/core.py Thu Aug 21 22:16:51 2014 +0200 +++ b/pyramid_cubicweb/core.py Wed Aug 06 19:06:32 2014 +0200 @@ -56,7 +56,7 @@ self.path = request.upath_info - vreg = request.registry['cubicweb.appli'].vreg + vreg = request.registry['cubicweb.registry'] https = request.scheme == 'https' post = request.params