Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/c/h/chirp-1.2.2/chirp/compare/sqlite_storage.py   chirp(Download)
                cur = con.execute("SELECT ref, tgt FROM %s" % self.table_name)
                done = [(r, t) for r, t in cur.fetchall()]
                for k1, k2 in _base_storage.pairs(self):
                    if (k1, k2) not in done: yield k1, k2
                return
            except sqlite3.OperationalError:
                # table probably doesn't exist; go to fallback
                pass
        for k1, k2 in _base_storage.pairs(self): yield k1, k2