def gprestartdb(self): ''' Restarts the Database ''' newfault = Fault() newfault.stop_db() newfault.start_db() sleep(30)