Skip to content
This repository was archived by the owner on Jan 25, 2018. It is now read-only.

Commit 12f44e2

Browse files
author
Lee Kamentsky
committed
Another instance of RunBatch.select -> RunBatch.BPBatch.select
1 parent 379e845 commit 12f44e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql_jobs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def run_sql_file(batch_id, sql_filename):
3535
returns the RunBatch.BPJob
3636
"""
3737
cwd = os.path.dirname(__file__)
38-
batch = RunBatch.select(batch_id)
38+
batch = RunBatch.BPBatch.select(batch_id)
3939
run = RunBatch.BPSQLRun.select_by_sql_filename(batch, sql_filename)
4040
if run is None:
4141
sql_path = os.path.join(RunBatch.batch_script_directory(batch),

0 commit comments

Comments
 (0)