Skip to content

Commit

Permalink
Merge pull request #295 from sot/lingering-sybase
Browse files Browse the repository at this point in the history
Update one remaining sybase call to use sqsh
  • Loading branch information
jeanconn authored Mar 21, 2024
2 parents 5043feb + 92938e1 commit ee15676
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit ee15676

Please sign in to comment.