From 35d4af9c22891a0446dfcf0d7bcd263c3e731391 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 26 Jun 2009 09:18:20 +0700 Subject: [PATCH] oldchannel.py: update deprecation message --- eventlet/oldchannel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventlet/oldchannel.py b/eventlet/oldchannel.py index d1a626d..f3fdeae 100644 --- a/eventlet/oldchannel.py +++ b/eventlet/oldchannel.py @@ -99,4 +99,4 @@ class channel(object): return self._send_tasklet(None, exc) import warnings -warnings.warn("channel is deprecated; use coros.queue(0) which behaves the same", DeprecationWarning, stacklevel=2) +warnings.warn("channel is deprecated by coros.Channel", DeprecationWarning, stacklevel=2)