Formatting
This commit is contained in:
parent
814ec5a513
commit
dd80b9c558
@ -18,5 +18,9 @@ class NewProjectForm(Form):
|
|||||||
@property
|
@property
|
||||||
def data(self):
|
def data(self):
|
||||||
_data = super(Form, self).data
|
_data = super(Form, self).data
|
||||||
_data["environment_names"] = [n for n in _data["environment_names"] if n not in self.EMPTY_ENVIRONMENT_NAMES]
|
_data["environment_names"] = [
|
||||||
|
n
|
||||||
|
for n in _data["environment_names"]
|
||||||
|
if n not in self.EMPTY_ENVIRONMENT_NAMES
|
||||||
|
]
|
||||||
return _data
|
return _data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user