diff options
author | Omer Katz <omer.drow@gmail.com> | 2019-01-09 16:47:11 +0200 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2019-01-09 16:47:11 +0200 |
commit | 293a1a0df32d09ad56a0edf7c966025649bf0fe9 (patch) | |
tree | a02027d99256e8076d839209a3c037e8c6470f6e | |
parent | 77b1362b39665b79afba64b501a94fa7e730af16 (diff) | |
download | kombu-293a1a0df32d09ad56a0edf7c966025649bf0fe9.tar.gz |
Added missing comma for tuples with one element in __all__.
-rw-r--r-- | kombu/asynchronous/aws/sqs/connection.py | 2 | ||||
-rw-r--r-- | kombu/asynchronous/http/curl.py | 2 | ||||
-rw-r--r-- | kombu/message.py | 2 | ||||
-rw-r--r-- | kombu/utils/eventio.py | 2 | ||||
-rw-r--r-- | kombu/utils/limits.py | 2 | ||||
-rw-r--r-- | kombu/utils/time.py | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/kombu/asynchronous/aws/sqs/connection.py b/kombu/asynchronous/aws/sqs/connection.py index ad8c3f13..1b268388 100644 --- a/kombu/asynchronous/aws/sqs/connection.py +++ b/kombu/asynchronous/aws/sqs/connection.py @@ -11,7 +11,7 @@ from .message import AsyncMessage from .queue import AsyncQueue -__all__ = ('AsyncSQSConnection') +__all__ = ('AsyncSQSConnection',) class AsyncSQSConnection(AsyncAWSQueryConnection): diff --git a/kombu/asynchronous/http/curl.py b/kombu/asynchronous/http/curl.py index 7f43e864..10b17959 100644 --- a/kombu/asynchronous/http/curl.py +++ b/kombu/asynchronous/http/curl.py @@ -27,7 +27,7 @@ else: 'HEAD': pycurl.NOBODY, } -__all__ = ('CurlClient') +__all__ = ('CurlClient',) DEFAULT_USER_AGENT = bytes_if_py2('Mozilla/5.0 (compatible; pycurl)') EXTRA_METHODS = frozenset(['DELETE', 'OPTIONS', 'PATCH']) diff --git a/kombu/message.py b/kombu/message.py index 2dd36ea4..4c4cf516 100644 --- a/kombu/message.py +++ b/kombu/message.py @@ -9,7 +9,7 @@ from .five import python_2_unicode_compatible, reraise, text_t from .serialization import loads from .utils.functional import dictfilter -__all__ = ('Message') +__all__ = ('Message',) ACK_STATES = {'ACK', 'REJECTED', 'REQUEUED'} IS_PYPY = hasattr(sys, 'pypy_version_info') diff --git a/kombu/utils/eventio.py b/kombu/utils/eventio.py index 71684941..9bb4544a 100644 --- a/kombu/utils/eventio.py +++ b/kombu/utils/eventio.py @@ -12,7 +12,7 @@ from numbers import Integral from . import fileno from .compat import detect_environment -__all__ = ('poll') +__all__ = ('poll',) _selectf = __select__.select _selecterr = __select__.error diff --git a/kombu/utils/limits.py b/kombu/utils/limits.py index 172716c1..4c848340 100644 --- a/kombu/utils/limits.py +++ b/kombu/utils/limits.py @@ -5,7 +5,7 @@ from collections import deque from kombu.five import monotonic -__all__ = ('TokenBucket') +__all__ = ('TokenBucket',) class TokenBucket(object): diff --git a/kombu/utils/time.py b/kombu/utils/time.py index 623a00a1..a9326f0c 100644 --- a/kombu/utils/time.py +++ b/kombu/utils/time.py @@ -1,7 +1,7 @@ """Time Utilities.""" from __future__ import absolute_import, unicode_literals -__all__ = ('maybe_s_to_ms') +__all__ = ('maybe_s_to_ms',) def maybe_s_to_ms(v): |