summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-11-22 17:04:03 +0200
committerAlexander Bokovoy <abokovoy@redhat.com>2011-11-22 17:04:03 +0200
commitbce3cd945c66e8e8dc49382356348745eefe8c59 (patch)
tree6052084c005dcdeb1403c389ecef912bab212406 /doc
parente9a9e2afdf84e15c6d3804fbeb566a5747c1ae5e (diff)
downloadfreeipa-bce3cd945c66e8e8dc49382356348745eefe8c59.tar.gz
freeipa-bce3cd945c66e8e8dc49382356348745eefe8c59.tar.xz
freeipa-bce3cd945c66e8e8dc49382356348745eefe8c59.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 0d6430be3..68858166e 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 068fd84bb..068fd84bb 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 2c4a9aaaa..2c4a9aaaa 100644
--- a/doc/guide/wsgi.py
+++ b/doc/guide/wsgi.py.txt