def app_uninstall(app, request):
 try:
  path = apath(app, request)
  rmtree(path)
  return True
 except Exception:
  return False

def app_uninstall ( app , request ) : try : path = apath ( app , request ) rmtree ( path ) return True except Exception : return False
uninstalls the application .