[Pkg-privacy-commits] [pyptlib] 36/136: PEP 8
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:25:04 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository pyptlib.
commit f41e8ee659421afb76658800e467394c61974476
Author: Brandon Wiley <brandon at blanu.net>
Date: Fri Jul 6 14:09:50 2012 -0500
PEP 8
---
src/pyptlib/easy/server.py | 8 +++-----
src/pyptlib/easy/util.py | 13 ++++++++-----
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/src/pyptlib/easy/server.py b/src/pyptlib/easy/server.py
index e86eecc..f73c379 100644
--- a/src/pyptlib/easy/server.py
+++ b/src/pyptlib/easy/server.py
@@ -27,11 +27,7 @@ def init(transports):
return matchedTransports
-def reportSuccess(
- name,
- address,
- options,
- ):
+def reportSuccess(name, address, options):
config = ServerConfig()
config.writeMethod(name, address, options)
@@ -45,3 +41,5 @@ def reportFailure(name, message):
def reportEnd():
config = ServerConfig()
config.writeMethodEnd()
+
+
diff --git a/src/pyptlib/easy/util.py b/src/pyptlib/easy/util.py
index dad436d..75498fc 100644
--- a/src/pyptlib/easy/util.py
+++ b/src/pyptlib/easy/util.py
@@ -4,9 +4,12 @@
from pyptlib.config import EnvException
from pyptlib.client import ClientConfig
+
def checkClientMode():
- try:
- client=ClientConfig()
- return True
- except EnvException:
- return False
+ try:
+ client = ClientConfig()
+ return True
+ except EnvException:
+ return False
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/pyptlib.git
More information about the Pkg-privacy-commits
mailing list