Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Leger2014-03-13 12:43:32 -0400
committerFrederic Leger2014-03-13 12:43:32 -0400
commitc74f4c68cf41d3c7584943d9f6e128b9957b2f8e (patch)
treeea05bd0dc660cf69e7d6ad74b3b17baccc2d0b1e /python/src/tcf/__init__.py
parent6f2ca0fd5d13419c2f6a7bd5845079d7ead2a2b9 (diff)
downloadorg.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.tar.gz
org.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.tar.xz
org.eclipse.tcf-c74f4c68cf41d3c7584943d9f6e128b9957b2f8e.zip
Python - Misc PEP8 fixes.
Diffstat (limited to 'python/src/tcf/__init__.py')
-rw-r--r--python/src/tcf/__init__.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/src/tcf/__init__.py b/python/src/tcf/__init__.py
index ec5e6b937..727db0940 100644
--- a/python/src/tcf/__init__.py
+++ b/python/src/tcf/__init__.py
@@ -18,7 +18,7 @@ import types
from . import protocol, peer, channel
from .util import task
-__all__ = ('connect')
+__all__ = ('connect', 'peers')
def connect(params, wait=True):
@@ -66,7 +66,7 @@ def _parse_params(paramStr):
raise ValueError("Expected format: <transport>:<host>:<port>")
transp, host, port = args
return {
- peer.ATTR_IP_HOST : host,
- peer.ATTR_IP_PORT : port,
- peer.ATTR_TRANSPORT_NAME : transp
+ peer.ATTR_IP_HOST: host,
+ peer.ATTR_IP_PORT: port,
+ peer.ATTR_TRANSPORT_NAME: transp
}

Back to the top