Exemplo n.º 1
0
 def __init__(self):
     SQL.__init__(self)
     self.hostname = get_config('postgresql_host', 'localhost')
     self.port = get_config('postgresql_port', '5432')
     self.username = get_config('postgresql_user', 'postgres')
     self.password = get_config('postgresql_pass', 'postgres')
     self.dbname = get_config('postgresql_db', 'syscall_popularity')
     self.db = None
     self.tables = []
 def __init__(self):
     SQL.__init__(self)
     self.dbname = get_config('sqlite_db', 'syscall_popularity.db')
     self.db = None
     self.tables = []