From bce3cd945c66e8e8dc49382356348745eefe8c59 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 22 Nov 2011 17:04:03 +0200 Subject: Rename included snippets to avoid problems with pylint --- doc/guide/guide.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/guide/guide.org') diff --git a/doc/guide/guide.org b/doc/guide/guide.org index 0d6430be..68858166 100644 --- a/doc/guide/guide.org +++ b/doc/guide/guide.org @@ -437,7 +437,7 @@ backend. As an example, let's see how role is defined. This is fully functioning plugin that provides operations on roles: -#+INCLUDE "role.py" src python -n +#+INCLUDE "role.py.txt" src python -n * Extending existing object As said earlier, until API instance is finalized, objects, methods, and commands can be @@ -595,7 +595,7 @@ tool, ~ipa~. Web UI communicates with a FreeIPA server running WSGI application accepts JSON-formatted requests and translates them to calls to FreeIPA plugins. A following code in ~install/share/ui/wsgi.py~ defines FreeIPA web application: -#+INCLUDE "wsgi.py" src python -n -r +#+INCLUDE "wsgi.py.txt" src python -n -r At line [[(wsgi-app-bootstrap)]] we set up FreeIPA framework with server context. This means plugins are loaded and initialized from following locations: -- cgit