Reviewed-by: Paulo Ricardo Paz Vital <pvital(a)linux.vnet.ibm.com>
On Jun 27 10:29AM, Lucio Correia wrote:
Signed-off-by: Lucio Correia <luciojhc(a)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
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel