Skip to content
This repository was archived by the owner on Oct 15, 2023. It is now read-only.

Commit 0130170

Browse files
authored
Update whitelist link (#59)
1 parent 1236808 commit 0130170

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

new_wikis_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _handle_cx(self):
140140
def _check_analytics(self):
141141
path = get_gerrit_path(
142142
'analytics/refinery',
143-
'static_data/pageview/whitelist/whitelist.tsv'
143+
'static_data/pageview/allowlist/allowlist.tsv'
144144
)
145145
url = '.'.join(self.parts[:2])
146146
refinery_whitelist = get_file_from_gerrit(path)

patch_makers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,11 @@ def __init__(self, project, bug_id):
106106
self.project = project
107107
super().__init__(
108108
'analytics/refinery',
109-
'Add {} to pageview whitelist \n\nBug:{}'.format(project, bug_id)
109+
'Add {} to pageview allowlist \n\nBug:{}'.format(project, bug_id)
110110
)
111111

112112
def changes(self):
113-
with open('static_data/pageview/whitelist/whitelist.tsv', 'r') as f:
113+
with open('static_data/pageview/allowlist/allowlist.tsv', 'r') as f:
114114
lines = f.read().split('\n')
115115
projects = []
116116
non_projects = []
@@ -126,5 +126,5 @@ def changes(self):
126126
))
127127
projects = list(set(projects))
128128
projects.sort()
129-
with open('static_data/pageview/whitelist/whitelist.tsv', 'w') as f:
129+
with open('static_data/pageview/allowlist/allowlist.tsv', 'w') as f:
130130
f.write('\n'.join(projects) + '\n' + '\n'.join(non_projects))

0 commit comments

Comments
 (0)