summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ipa_server/mod_python_xmlrpc.py6
-rw-r--r--ipa_webui/mod_python_webui.py22
-rwxr-xr-xlite-webui.py8
-rwxr-xr-xlite-xmlrpc.py4
4 files changed, 34 insertions, 6 deletions
diff --git a/ipa_server/mod_python_xmlrpc.py b/ipa_server/mod_python_xmlrpc.py
index 8f415e83..18bedec1 100644
--- a/ipa_server/mod_python_xmlrpc.py
+++ b/ipa_server/mod_python_xmlrpc.py
@@ -5,7 +5,7 @@
#
# IPA is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation;
+# License as published by the Free Software Foundation;
# version 2.1 of the License.
#
# This software is distributed in the hope that it will be useful,
@@ -23,6 +23,10 @@
# Authors:
# Rob Crittenden <rcritten@redhat.com>
+"""
+Production XML-RPC server using mod_python.
+"""
+
import sys
diff --git a/ipa_webui/mod_python_webui.py b/ipa_webui/mod_python_webui.py
new file mode 100644
index 00000000..6a889fce
--- /dev/null
+++ b/ipa_webui/mod_python_webui.py
@@ -0,0 +1,22 @@
+# Authors:
+# Jason Gerard DeRose <jderose@redhat.com>
+#
+# Copyright (C) 2008 Red Hat
+# see file 'COPYING' for use and warranty information
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; version 2 only
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+"""
+Production Web UI using mod_python.
+"""
diff --git a/lite-webui.py b/lite-webui.py
index 985a838b..c910f83d 100755
--- a/lite-webui.py
+++ b/lite-webui.py
@@ -19,7 +19,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
-A web-UI test server using cherrypy.
+In-tree Web UI using cherrypy.
"""
from cherrypy import expose, config, quickstart
@@ -41,7 +41,5 @@ class root(object):
setattr(self, cmd.name, ctr)
-
-
-
-quickstart(root())
+if __name__ == '__main__'
+ quickstart(root())
diff --git a/lite-xmlrpc.py b/lite-xmlrpc.py
index 86df6815..49f3a2ae 100755
--- a/lite-xmlrpc.py
+++ b/lite-xmlrpc.py
@@ -15,6 +15,10 @@ import ipalib.load_plugins
from ipalib.util import xmlrpc_unmarshal
import traceback
+"""
+In-tree XML-RPC server using SimpleXMLRPCServer.
+"""
+
PORT=8888
class StoppableXMLRPCServer(SimpleXMLRPCServer.SimpleXMLRPCServer):