summaryrefslogtreecommitdiff
path: root/funtests
diff options
context:
space:
mode:
authorAsk Solem <ask@celeryproject.org>2014-05-19 22:53:12 +0100
committerAsk Solem <ask@celeryproject.org>2014-05-19 22:53:12 +0100
commit4b26895232ed2fcee9dcf33c1ddf04d876899321 (patch)
tree855bc138c11c0e69e28d14910f4d113eef039ffb /funtests
parent55197ee34198b2ccbe8ccc57bac336b9dd42e31b (diff)
downloadkombu-4b26895232ed2fcee9dcf33c1ddf04d876899321.tar.gz
Using print function
Diffstat (limited to 'funtests')
-rw-r--r--funtests/transport.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/funtests/transport.py b/funtests/transport.py
index 18872336..6e943742 100644
--- a/funtests/transport.py
+++ b/funtests/transport.py
@@ -22,10 +22,6 @@ else:
from sha import new as _digest # noqa
-def say(msg):
- print(msg, file=sys.stderr)
-
-
def _nobuf(x):
return [str(i) if isinstance(i, buffer) else i for i in x]
@@ -51,7 +47,7 @@ def consumeN(conn, consumer, n=1, timeout=30):
if seconds >= timeout:
raise socket.timeout(msg)
if seconds > 1:
- say(msg)
+ print(msg)
if len(messages) >= n:
break