summaryrefslogtreecommitdiff
path: root/examples/example-service.py
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-28 11:49:28 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2007-09-28 11:49:28 +0100
commit5295a01631b2a02f948d22417de997a3200a2cee (patch)
tree1449d6238411e3cee82dc601cca75edd43af0c02 /examples/example-service.py
parentc658f7804cf892c2c45548dc9283c06ce7249925 (diff)
License examples under MIT/X11.
According to history of dbus-core before the bindings split, the examples were written by Red Hat employees, so we should be OK to relicense them; and it's good to have copyright headers.
Diffstat (limited to 'examples/example-service.py')
-rw-r--r--examples/example-service.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/examples/example-service.py b/examples/example-service.py
index 5dca9a5..c42b526 100644
--- a/examples/example-service.py
+++ b/examples/example-service.py
@@ -7,6 +7,29 @@ python example-async-client.py
python example-client.py --exit-service
"""
+# Copyright (C) 2004-2006 Red Hat Inc. <http://www.redhat.com/>
+# Copyright (C) 2005-2007 Collabora Ltd. <http://www.collabora.co.uk/>
+#
+# Permission is hereby granted, free of charge, to any person
+# obtaining a copy of this software and associated documentation
+# files (the "Software"), to deal in the Software without
+# restriction, including without limitation the rights to use, copy,
+# modify, merge, publish, distribute, sublicense, and/or sell copies
+# of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be
+# included in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+# HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+# DEALINGS IN THE SOFTWARE.
+
import gobject
import dbus