Permalink
Browse files

license headers

  • Loading branch information...
1 parent f0f5d20 commit 41fc78e81727cec2c8d3bc50feae9f20bc82389d @benoitc committed Sep 2, 2012
Showing with 17 additions and 1 deletion.
  1. +6 −0 NOTICE
  2. +5 −0 flower/stackless.py
  3. +6 −1 test/test_stackless.py
View
6 NOTICE
@@ -6,3 +6,9 @@ flower
flower is available in the public domain (see UNLICENSE). flower
is also optionally available under the MIT License (see LICENSE), meant
especially for jurisdictions that do not recognize public domain works.
+
+
+flower.stackless
+----------------
+
+based on pypy stackless implementation under MIT License.
View
@@ -1,3 +1,8 @@
+# -*- coding: utf-8 -
+#
+# This file is part of flower.
+# See the NOTICE for more information.
+
import __builtin__
from collections import deque
import operator
View
@@ -1,3 +1,8 @@
+# -*- coding: utf-8 -
+#
+# This file is part of socketpool.
+# See the NOTICE for more information.
+
from __future__ import absolute_import
from py.test import skip
from flower import stackless
@@ -445,7 +450,7 @@ def exp_sender(chan):
def exp_recv(chan):
try:
val = chan.receive()
- except Exception, exp:
+ except Exception as exp:
assert exp.__class__ is Exception
assert str(exp) == 'test'

0 comments on commit 41fc78e

Please sign in to comment.