summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-11-22 17:04:03 +0200
committerSimo Sorce <ssorce@redhat.com>2012-01-11 12:04:17 -0500
commit1183a9873a8578290971df614adf830bd73b5630 (patch)
treea56a4383cbc1c558bbdc1e9b79e2a1c7bb71fe83 /doc
parent2644d99e55755e91b85c3c45c9810f3742c58a42 (diff)
downloadfreeipa.git-1183a9873a8578290971df614adf830bd73b5630.tar.gz
freeipa.git-1183a9873a8578290971df614adf830bd73b5630.tar.xz
freeipa.git-1183a9873a8578290971df614adf830bd73b5630.zip
Rename included snippets to avoid problems with pylint
Diffstat (limited to 'doc')
-rw-r--r--doc/guide/guide.org4
-rw-r--r--doc/guide/role.py.txt (renamed from doc/guide/role.py)0
-rw-r--r--doc/guide/wsgi.py.txt (renamed from doc/guide/wsgi.py)0
3 files changed, 2 insertions, 2 deletions
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:
diff --git a/doc/guide/role.py b/doc/guide/role.py.txt
index 068fd84b..068fd84b 100644
--- a/doc/guide/role.py
+++ b/doc/guide/role.py.txt
diff --git a/doc/guide/wsgi.py b/doc/guide/wsgi.py.txt
index 2c4a9aaa..2c4a9aaa 100644
--- a/doc/guide/wsgi.py
+++ b/doc/guide/wsgi.py.txt