[Kimchi-devel] [PATCH] [Wok] Fix PEP8 issue
Paulo Ricardo Paz Vital
pvital at linux.vnet.ibm.com
Mon Jun 27 14:56:00 UTC 2016
Reviewed-by: Paulo Ricardo Paz Vital <pvital at linux.vnet.ibm.com>
On Jun 27 10:29AM, Lucio Correia wrote:
> 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
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
--
Paulo Ricardo Paz Vital
Linux Technology Center, IBM Systems
http://www.ibm.com/linux/ltc/
More information about the Kimchi-devel
mailing list