Skip to content

Commit 276bb39

Browse files
committed
fix(cre-main): rename misspelled variable pending_stadards to pending_standards
1 parent 4f4390c commit 276bb39

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

application/cmd/cre_main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ def register_standard(
277277
# calculate gap analysis
278278
populate_neo4j_db(db_connection_str)
279279
jobs = []
280-
pending_stadards = collection.standards()
281-
for standard_name in pending_stadards:
280+
pending_standards = collection.standards()
281+
for standard_name in pending_standards:
282282
if standard_name == importing_name:
283283
continue
284284

@@ -295,7 +295,7 @@ def register_standard(
295295
logger.error(
296296
f"Could not find gap analysis job for for {importing_name} and {standard_name} putting {standard_name} back in the queue"
297297
)
298-
pending_stadards.append(standard_name)
298+
pending_standards.append(standard_name)
299299

300300
bw_key = gap_analysis.make_resources_key([standard_name, importing_name])
301301
if not collection.gap_analysis_exists(bw_key):
@@ -310,7 +310,7 @@ def register_standard(
310310
logger.error(
311311
f"Could not find gap analysis job for for {importing_name} and {standard_name} putting {standard_name} back in the queue"
312312
)
313-
pending_stadards.append(standard_name)
313+
pending_standards.append(standard_name)
314314
redis.wait_for_jobs(jobs)
315315
conn.set(standard_hash, value="")
316316

0 commit comments

Comments
 (0)