modified the way virtualenv_name gets stored for dev vs prod and stage
Changes to be committed: modified: bin/deploy_meta.py
This commit is contained in:
parent
cd112af3a4
commit
f1aa2cfcd0
1 changed files with 10 additions and 1 deletions
|
|
@ -295,18 +295,27 @@ class DeployMeta(QtGui.QMainWindow):
|
|||
projectname=dquery.get('project.name'),
|
||||
branchext=dquery.get('project.extension'))
|
||||
|
||||
virtualenv_name = "{projectname}_{branchext}".format(
|
||||
projectname=dquery.get('project.name'),
|
||||
branchext=dquery.get('project.extension'))
|
||||
|
||||
nested_path(
|
||||
self.config_data, 'database.name', database_name)
|
||||
|
||||
nested_path(
|
||||
self.config_data, 'virtualenv.name', dquery.get('project.name'))
|
||||
self.config_data, 'virtualenv.name', virtualenv_name)
|
||||
|
||||
if self.currentbranch == 'development':
|
||||
projectpath = "{projectname}.prj".format(
|
||||
projectname=dquery.get('project.name'))
|
||||
|
||||
nested_path(
|
||||
self.config_data, 'project.paths.home', projectpath)
|
||||
|
||||
nested_path(
|
||||
self.config_data, 'virtualenv.name',
|
||||
dquery.get('project.name'))
|
||||
|
||||
def add_widgetrow(self, key, grid):
|
||||
|
||||
row = grid.rowCount()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue