move __all__ to top
This commit is contained in:
parent
eb3013f512
commit
ea3ee25ff4
@ -17,6 +17,11 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
__all__ = [
|
||||
"ConnectionEventHandler",
|
||||
"Connection"
|
||||
]
|
||||
|
||||
import logging
|
||||
|
||||
import proton
|
||||
@ -488,8 +493,3 @@ Associate an arbitrary user object with this Connection.
|
||||
if name in self._receiver_links:
|
||||
del self._receiver_links[name]
|
||||
|
||||
|
||||
__all__ = [
|
||||
"ConnectionEventHandler",
|
||||
"Connection"
|
||||
]
|
||||
|
@ -16,6 +16,12 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
__all__ = [
|
||||
"ContainerEventHandler",
|
||||
"Container"
|
||||
]
|
||||
|
||||
import heapq, logging
|
||||
from connection import Connection
|
||||
|
||||
@ -88,7 +94,3 @@ class Container(object):
|
||||
if name in self._connections:
|
||||
del self._connections[name]
|
||||
|
||||
__all__ = [
|
||||
"ContainerEventHandler",
|
||||
"Container"
|
||||
]
|
||||
|
@ -17,6 +17,13 @@
|
||||
# under the License.
|
||||
#
|
||||
|
||||
__all__ = [
|
||||
"SenderEventHandler",
|
||||
"SenderLink",
|
||||
"ReceiverEventHandler",
|
||||
"ReceiverLink"
|
||||
]
|
||||
|
||||
import collections, logging
|
||||
import proton
|
||||
|
||||
@ -321,10 +328,3 @@ class ReceiverLink(_Link):
|
||||
delivery.update(result)
|
||||
delivery.settle()
|
||||
|
||||
|
||||
__all__ = [
|
||||
"SenderEventHandler",
|
||||
"SenderLink",
|
||||
"ReceiverEventHandler",
|
||||
"ReceiverLink"
|
||||
]
|
||||
|
@ -16,6 +16,12 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
|
||||
__all__ = [
|
||||
"read_socket_input",
|
||||
"write_socket_output"
|
||||
]
|
||||
|
||||
import socket, errno, logging
|
||||
|
||||
from connection import Connection
|
||||
@ -101,8 +107,3 @@ def write_socket_output(connection, socket_obj):
|
||||
connection.close_output()
|
||||
return count
|
||||
|
||||
|
||||
__all__ = [
|
||||
"read_socket_input",
|
||||
"write_socket_output"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user