Page MenuHomeDevCentral

D3328.diff
No OneTemporary

D3328.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
Wed, Nov 27, 03:01 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2265724
Default Alt Text
D3328.diff (670 B)

Event Timeline