[PATCH 02 of 24 Openidrelay cube] [new style] use new style for cube imports

Nsukami Patrick ptrck at nskm.xyz
Wed Apr 1 09:53:45 CEST 2020


# HG changeset patch
# User Nsukami Patrick <ptrck at nskm dot xyz>
# Date 1585470975 0
#      Sun Mar 29 08:36:15 2020 +0000
# Node ID 5cfe61c4e877a963b94072678b7193603dd51a50
# Parent  c9742f6003bbe7aff7c920847029485b95689886
[new style] use new style for cube imports

diff --git a/cubicweb_openidrelay/hooks.py b/cubicweb_openidrelay/hooks.py
--- a/cubicweb_openidrelay/hooks.py
+++ b/cubicweb_openidrelay/hooks.py
@@ -21,7 +21,7 @@
 
 from cubicweb.server import hook
 
-from cubes.openidrelay.authplugin import OpenIDAuthentifier
+from cubicweb_openidrelay.authplugin import OpenIDAuthentifier
 
 class ServerStartupHook(hook.Hook):
     """register authentifier at startup"""
diff --git a/cubicweb_openidrelay/views.py b/cubicweb_openidrelay/views.py
--- a/cubicweb_openidrelay/views.py
+++ b/cubicweb_openidrelay/views.py
@@ -24,7 +24,7 @@
 from cubicweb.web.views import authentication, urlrewrite, forms
 from cubicweb.web.views import basecomponents, basetemplates as templates
 
-from cubes.openidrelay.utils import url_args
+from cubicweb_openidrelay.utils import url_args
 
 # web authentication info retriever ############################################
 




More information about the cubicweb-devel mailing list