# HG changeset patch # User Laurent Peuch # Date 1557914775 -7200 # Node ID f28a19408d3dffd7388a162d3a73ee8c69c125d4 # Parent 0f33639d305b2aba43c02e55c10278c9a2641604 [pyramid/misc] remove useless variable diff -r 0f33639d305b -r f28a19408d3d cubicweb/pyramid/pyramidctl.py --- a/cubicweb/pyramid/pyramidctl.py Wed May 15 12:05:52 2019 +0200 +++ b/cubicweb/pyramid/pyramidctl.py Wed May 15 12:06:15 2019 +0200 @@ -55,13 +55,12 @@ def _generate_pyramid_ini_file(pyramid_ini_path): """Write a 'development.ini' file into apphome.""" template_fpath = os.path.join(os.path.dirname(__file__), 'pyramid.ini.tmpl') - target_fpath = os.path.join(pyramid_ini_path) context = { 'secret_1': get_random_secret_key(), 'secret_2': get_random_secret_key(), 'secret_3': get_random_secret_key(), } - fill_templated_file(template_fpath, target_fpath, context) + fill_templated_file(template_fpath, pyramid_ini_path, context) class PyramidCreateHandler(serverctl.RepositoryCreateHandler,