diff options
author | Ask Solem <ask@celeryproject.org> | 2013-10-04 15:12:16 +0100 |
---|---|---|
committer | Ask Solem <ask@celeryproject.org> | 2013-10-04 15:12:16 +0100 |
commit | 81c9972b23fbbfe5eda3ea9bfcabc25e2ed7c1cf (patch) | |
tree | f3bddc0f0da22078dc82f5298245be6dfe2f8f24 | |
parent | edcd05f059b0c7dbf70f42baf9450d8370afe047 (diff) | |
download | py-amqp-81c9972b23fbbfe5eda3ea9bfcabc25e2ed7c1cf.tar.gz |
Flakes
-rw-r--r-- | amqp/channel.py | 2 | ||||
-rw-r--r-- | amqp/protocol.py | 2 | ||||
-rw-r--r-- | docs/reference/amqp.protocol.rst | 11 | ||||
-rw-r--r-- | docs/reference/index.rst | 1 | ||||
-rwxr-xr-x | extra/release/doc4allmods | 8 |
5 files changed, 16 insertions, 8 deletions
diff --git a/amqp/channel.py b/amqp/channel.py index 961df22..109d6c4 100644 --- a/amqp/channel.py +++ b/amqp/channel.py @@ -2033,7 +2033,7 @@ class Channel(AbstractChannel): return msg def _basic_publish(self, msg, exchange='', routing_key='', - mandatory=False, immediate=False): + mandatory=False, immediate=False): """Publish a message This method publishes a message to a specific exchange. The diff --git a/amqp/protocol.py b/amqp/protocol.py index 6b235f5..0856eb4 100644 --- a/amqp/protocol.py +++ b/amqp/protocol.py @@ -11,5 +11,3 @@ basic_return_t = namedtuple( 'basic_return_t', ('reply_code', 'reply_text', 'exchange', 'routing_key', 'message'), ) - - diff --git a/docs/reference/amqp.protocol.rst b/docs/reference/amqp.protocol.rst new file mode 100644 index 0000000..e47a469 --- /dev/null +++ b/docs/reference/amqp.protocol.rst @@ -0,0 +1,11 @@ +===================================================== + amqp.protocol +===================================================== + +.. contents:: + :local: +.. currentmodule:: amqp.protocol + +.. automodule:: amqp.protocol + :members: + :undoc-members: diff --git a/docs/reference/index.rst b/docs/reference/index.rst index cc177ce..3a19812 100644 --- a/docs/reference/index.rst +++ b/docs/reference/index.rst @@ -17,6 +17,7 @@ amqp.abstract_channel amqp.transport amqp.method_framing + amqp.protocol amqp.serialization amqp.utils amqp.five diff --git a/extra/release/doc4allmods b/extra/release/doc4allmods index 504f880..6916b8b 100755 --- a/extra/release/doc4allmods +++ b/extra/release/doc4allmods @@ -1,7 +1,7 @@ #!/bin/bash PACKAGE="$1" -SKIP_PACKAGES="$PACKAGE tests management urls" +SKIP_PACKAGES="$PACKAGE tests" SKIP_FILES="" modules=$(find "$PACKAGE" -name "*.py") @@ -21,10 +21,8 @@ for module in $modules; do if [ $skip -eq 0 ]; then if [ ! -f "docs/reference/$rst" ]; then - if [ ! -f "docs/internals/reference/$rst" ]; then - echo $rst :: FAIL - failed=1 - fi + echo $rst :: FAIL + failed=1 fi fi done |