in dcrpm/rpmutil.py [0:0]
def populate_tables(self):
# type: () -> None
"""
Populates self.tables. This is broken out from the constructor to
support unit tests; the initial constructor is called with /tmp, but
then the dbpath is changed (but the tables are never updated). This
function will populate self.tables using whatever the dbpath is at call
time.
"""
self.tables = [
table for table in os.listdir(self.dbpath) if str(table).istitle()
] # type: t.List[str]