Permalink
Browse files

Added LICENSE information (3-clause BSD)

  • Loading branch information...
1 parent 1fa083e commit c6a48b2dcf7f1c6bb6d557e9c06549a5beea5288 Ask Solem committed Jun 25, 2010
Showing with 13 additions and 1 deletion.
  1. +1 −0 MANIFEST.in
  2. +9 −0 README
  3. +1 −0 ghettoq/__init__.py
  4. +1 −1 ghettoq/taproot.py
  5. +1 −0 setup.py
View
1 MANIFEST.in
@@ -4,6 +4,7 @@ include INSTALL
include MANIFEST.in
include README
include TODO
+include LICENSE
recursive-include docs *
recursive-include ghettoq *
recursive-include tests *
View
9 README
@@ -90,3 +90,12 @@ connection options. The settings attrs used are:
>>> queue.put("To whom it may concern")
>>> queue.get()
"To whom it may concern"
+
+License
+=======
+
+This software is licensed under the ``New BSD License``. See the ``LICENSE``
+file in the top distribution directory for the full license text.
+
+.. # vim: syntax=rst expandtab tabstop=4 shiftwidth=4 shiftround
+
View
1 ghettoq/__init__.py
@@ -5,3 +5,4 @@
__contact__ = "askh@opera.com"
__homepage__ = "http://github.com/ask/ghettoq/"
__docformat__ = "restructuredtext"
+__license__ = "BSD"
View
2 ghettoq/taproot.py
@@ -128,7 +128,7 @@ def drain_events(self, timeout=None):
payload, queue = self._poll(queueset)
if not queue or queue not in self._callbacks:
- continue
+ return
self._callbacks[queue](payload)
View
1 setup.py
@@ -99,6 +99,7 @@ def is_unwanted_file(filename):
author_email=ghettoq.__contact__,
url=ghettoq.__homepage__,
platforms=["any"],
+ license='BSD',
packages=packages,
data_files=data_files,
cmdclass = {"test": RunTests},

0 comments on commit c6a48b2

Please sign in to comment.