# Path: lib/sentry/sentry.py



import sqlite3 as lite
import sys
from ....base import *
from ....sentry import sentry
#!/usr/bin/env python

'''
This module consist of functions that manage database.
'''



pathHD = pather.PATHandler(__file__)

class DBHandler(object):
    def __init__(self):
        try:
            self.con = lite.connect(os.path.join(pathHD.parent_dir()), 
                'databases', 'modules.db')
            self.cur = self.con.cursor()
        except lite.Error as e: 
            # send error to sentry

# Path: lib/sentry/sentry.py



# Path: lib/bbro/core/handlers/database.py
import sqlite3 as lite
import sys
from ....base import *
from ....sentry import sentry

#!/usr/bin/env python

'''
This module consist of functions that manage database.
'''



pathHD = pather.PATHandler(__file__)

class DBHandler(object):
    def __init__(self):
        try:
            self.con = lite.connect(os.path.join(pathHD.parent_dir()), 
                'databases', 'modules.db')
            self.cur = self.con.cursor()
        except lite.Error as e: 
            # send error to sentry

            sentry.client.captureException()