Page MenuHomeDevCentral

D3328.id8558.diff
No OneTemporary

D3328.id8558.diff

diff --git a/utils/generate-webcontent-index.py b/utils/generate-webcontent-index.py
--- a/utils/generate-webcontent-index.py
+++ b/utils/generate-webcontent-index.py
@@ -45,6 +45,8 @@
print("\ninclude:")
for site in get_sites(pillar_file):
print(" - {}".format(site))
+ print("")
+ print(" - ._generic")
def get_pillar_entry(pillar_file, key):
@@ -55,9 +57,9 @@
def get_sites(pillar_file):
sites = get_pillar_entry(pillar_file, "web_content_sls")
- return sorted(
+ return sorted(set(
[site for sublist in [sites[role] for role in sites] for site in sublist]
- )
+ ))
def print_header(file_to_update):

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 10:09 (17 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259209
Default Alt Text
D3328.id8558.diff (670 B)

Event Timeline