Skip to content

Commit

Permalink
drop debug prints so CI stops yelling at me
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-martian committed Oct 24, 2024
1 parent 575f0bd commit 319bad7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions rebabel_format/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,10 @@ def search(self):
where += f' AND U{i} = F{n}.unit'
query = f'SELECT {select} FROM {", ".join(tables)} WHERE {where}'
# TODO: self.existence_conditionals
print(f'{query=}, {params=}')
self.db.cur.execute(query, params)
unit_ids.append(set(x[0] for x in self.db.cur.fetchall()))
if not unit_ids[-1]:
return
print(unit_ids)

intersect = IntersectionTracker(dict(enumerate(unit_ids)))

Expand Down Expand Up @@ -264,7 +262,6 @@ def restrict_edge(parent, child, primary):
else:
where += f' AND F{n}.unit = U{i}'
query = f'SELECT {", ".join(select)} FROM {", ".join(tables)} WHERE {where}'
print(f'{query=}, {params=}')
self.db.cur.execute(query, params)
sets = self.db.cur.fetchall()
if not sets:
Expand Down

0 comments on commit 319bad7

Please sign in to comment.