def cleanup_staging_area(staging_path):
 if os.path.exists(staging_path):
  shutil.rmtree(staging_path)

def cleanup_staging_area ( staging_path ) : if os . path . exists ( staging_path ) : shutil . rmtree ( staging_path )
remove staging area directory on upload .