From 381c8a0568c5132d1b070b6aa27bc16fc6c9457b Mon Sep 17 00:00:00 2001 From: Ronny Abraham Date: Sun, 2 Jun 2019 22:33:41 +0300 Subject: [PATCH] add edit for layout --- modules/deploy.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/modules/deploy.py b/modules/deploy.py index 9504760..98574c0 100644 --- a/modules/deploy.py +++ b/modules/deploy.py @@ -755,15 +755,21 @@ def edit(param='help', branch=None): else: project_branch = branch - config_path = _get_configuration_path('config', project_branch) + meta_path = _get_configuration_path('config', project_branch) + layout_path = _get_configuration_path('layout', project_branch) # locations = ['gunicorn', 'gunicorn_link', 'gunicorn_build', # 'settings', 'local'] locations = { - 'configuration': { - 'path': config_path, + 'meta': { + 'path': meta_path, 'desc': 'meta configuration file', }, + + 'layout': { + 'path': layout_path, + 'desc': 'layout configuration file', + }, } if param in locations.keys():