From 1606cd96a00eb23cf4b1fd6c3b5cf7da0836abe3 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Thu, 21 Apr 2011 18:29:51 +0200 Subject: Use flake8 instead of pep8+pyflakes, and add it as a step in releaseok() --- examples/simple_eventlet_receive.py | 1 - examples/simple_eventlet_send.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/simple_eventlet_receive.py b/examples/simple_eventlet_receive.py index 2cf12f2e..0b10d7a6 100644 --- a/examples/simple_eventlet_receive.py +++ b/examples/simple_eventlet_receive.py @@ -27,7 +27,6 @@ def wait_many(timeout=1): password="guest", virtual_host="/") - #: SimpleQueue mimics the interface of the Python Queue module. #: First argument can either be a queue name or a kombu.Queue object. #: If a name, then the queue will be declared with the name as the queue diff --git a/examples/simple_eventlet_send.py b/examples/simple_eventlet_send.py index 43b60001..325a99cc 100644 --- a/examples/simple_eventlet_send.py +++ b/examples/simple_eventlet_send.py @@ -12,6 +12,7 @@ from kombu import BrokerConnection eventlet.monkey_patch() + def send_many(n): #: Create connection @@ -23,7 +24,6 @@ def send_many(n): password="guest", virtual_host="/") - #: SimpleQueue mimics the interface of the Python Queue module. #: First argument can either be a queue name or a kombu.Queue object. #: If a name, then the queue will be declared with the name as the queue -- cgit v1.2.1