Skip to content

Commit c7a763d

Browse files
committed
rename functions for easier sorting
1 parent ae0433f commit c7a763d

13 files changed

Lines changed: 17 additions & 17 deletions

scripts/1-fetch/deviantart_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ def main():
243243
return
244244

245245
# Log the paths being used
246-
shared.log_paths(LOGGER, PATHS)
246+
shared.paths_log(LOGGER, PATHS)
247247

248248
# Create data directory for this phase
249249
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/gcs_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def query_gcs(args, service, last_completed_plan_index, plan):
271271

272272
def main():
273273
args = parse_arguments()
274-
shared.log_paths(LOGGER, PATHS)
274+
shared.paths_log(LOGGER, PATHS)
275275
service = get_search_service()
276276
shared.git_fetch_and_merge(args, PATHS["repo"])
277277
initialize_all_data_files(args)

scripts/1-fetch/github_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def query_github(args, session):
169169

170170
def main():
171171
args = parse_arguments()
172-
shared.log_paths(LOGGER, PATHS)
172+
shared.paths_log(LOGGER, PATHS)
173173
check_for_completion()
174174
session = get_requests_session()
175175
tool_data = query_github(args, session)

scripts/1-fetch/internetarchive_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def main():
202202
return
203203

204204
# Log the paths being used
205-
shared.log_paths(LOGGER, PATHS)
205+
shared.paths_log(LOGGER, PATHS)
206206

207207
# Create data directory for this phase
208208
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/metmuseum_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def main():
171171
return
172172

173173
# Log the paths being used
174-
shared.log_paths(LOGGER, PATHS)
174+
shared.paths_log(LOGGER, PATHS)
175175

176176
# Create data directory for this phase
177177
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/vimeo_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def main():
213213
return
214214

215215
# Log the paths being used
216-
shared.log_paths(LOGGER, PATHS)
216+
shared.paths_log(LOGGER, PATHS)
217217

218218
# Create data directory for this phase
219219
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/wikicommons_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def main():
254254
return
255255

256256
# Log the paths being used
257-
shared.log_paths(LOGGER, PATHS)
257+
shared.paths_log(LOGGER, PATHS)
258258

259259
# Create data directory for this phase
260260
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/wikipedia_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def main():
198198
return
199199

200200
# Log the paths being used
201-
shared.log_paths(LOGGER, PATHS)
201+
shared.paths_log(LOGGER, PATHS)
202202

203203
# Create data directory for this phase
204204
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/1-fetch/youtube_fetch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ def main():
236236
return
237237

238238
# Log the paths being used
239-
shared.log_paths(LOGGER, PATHS)
239+
shared.paths_log(LOGGER, PATHS)
240240

241241
# Create data directory for this phase
242242
os.makedirs(PATHS["data_phase"], exist_ok=True)

scripts/2-process/gcs_process.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def parse_arguments():
5656
parser.error("--enable-git requires --enable-save")
5757
if args.quarter != QUARTER:
5858
global PATHS
59-
PATHS = shared.update_paths(LOGGER, PATHS, QUARTER, args.quarter)
59+
PATHS = shared.paths_update(LOGGER, PATHS, QUARTER, args.quarter)
6060
args.logger = LOGGER
6161
args.paths = PATHS
6262
return args
@@ -306,7 +306,7 @@ def process_totals_by_country(args, data):
306306

307307
def main():
308308
args = parse_arguments()
309-
shared.log_paths(LOGGER, PATHS)
309+
shared.paths_log(LOGGER, PATHS)
310310
shared.git_fetch_and_merge(args, PATHS["repo"])
311311

312312
# Count data

0 commit comments

Comments
 (0)