[Kimchi-devel] [PATCH] [Wok] Fix PEP8 issue

Lucio Correia luciojhc at linux.vnet.ibm.com
Mon Jun 27 13:29:12 UTC 2016


Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 src/wok/server.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wok/server.py b/src/wok/server.py
index 567364d..8a02596 100644
--- a/src/wok/server.py
+++ b/src/wok/server.py
@@ -152,10 +152,10 @@ class Server(object):
 
             # redefine logrotate configuration according to wok.conf
             data = Template(LOGROTATE_TEMPLATE)
-            data = data.safe_substitute(log_dir=configParser.get("logging",
-                                        "log_dir"),
-                                        log_size=configParser.get("logging",
-                                        "log_size"))
+            data = data.safe_substitute(
+                log_dir=configParser.get("logging", "log_dir"),
+                log_size=configParser.get("logging", "log_size")
+            )
 
             # Write file to be used for nginx.
             config_file = open(os.path.join(paths.logrotate_dir, "wokd"), "w")
-- 
1.9.1




More information about the Kimchi-devel mailing list