mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +01:00
Minor fixes to container cml template
This commit is contained in:
@@ -27,11 +27,6 @@ containers_constraint = \
|
||||
unless CONTAINERS > %d suppress cont%d_menu
|
||||
'''
|
||||
|
||||
containers_default = \
|
||||
'''
|
||||
default CONTAINERS from %d
|
||||
'''
|
||||
|
||||
def add_container_constraint(cid):
|
||||
cml_string = ""
|
||||
if cid == 0:
|
||||
@@ -49,9 +44,6 @@ def generate_container_cml(arch, ncont):
|
||||
for cont in range(ncont):
|
||||
fbody += add_container_constraint(cont)
|
||||
|
||||
# Add number of default containers
|
||||
fbody += containers_default % ncont
|
||||
|
||||
# Generate the containers menu with as many entries as containers
|
||||
fbody += containers_menu
|
||||
for cont in range(ncont):
|
||||
|
||||
Reference in New Issue
Block a user