Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update one remaining sybase call to use sqsh #295

Merged
merged 1 commit into from
Mar 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion mica/archive/obsid_archive.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def update(self):
prov_data = self.get_todo_from_links(archive_dir)
for obs in prov_data:
# check again for multi-obis and limit to first one
with ska_dbi.DBI(**apstat) as db:
with Sqsh(**apstat) as db:
obis = db.fetchall(
"select distinct obi from obidet_0_5 where obsid = %d"
% obs['obsid'])
Expand Down