From 4d89d6cc7a54dd4c98b36300f7128a3bdcc8a721 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20He=C3=9F?= <rene.hess@iwr.uni-heidelberg.de> Date: Fri, 26 May 2017 10:16:47 +0200 Subject: [PATCH] PEP8 --- python/dune/perftool/compile.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python/dune/perftool/compile.py b/python/dune/perftool/compile.py index 1cfc540a..40cd1774 100644 --- a/python/dune/perftool/compile.py +++ b/python/dune/perftool/compile.py @@ -6,12 +6,7 @@ Should also contain the entrypoint methods. from __future__ import absolute_import -# Configure loggers import logging.config -from os import path -log_file_path = path.join(path.dirname(path.abspath(__file__)), 'logging.conf') -logging.config.fileConfig(log_file_path) - import loopy @@ -30,8 +25,11 @@ from dune.perftool.pdelab.localoperator import (generate_localoperator_basefile, name_localoperator_file) from dune.perftool.ufl.preprocess import preprocess_form -from os.path import splitext, basename +from os.path import splitext, basename, join, dirname, abspath +# Configure loggers +log_file_path = join(dirname(abspath(__file__)), 'logging.conf') +logging.config.fileConfig(log_file_path) # Disable loopy caching before we do anything else! loopy.CACHING_ENABLED = False -- GitLab