From 0ed4886c7cb68dfbc95d66ac85995bba89f91ff3 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 10 2018 15:15:16 +0000 Subject: Black fix Signed-off-by: Pierre-Yves Chibon --- diff --git a/pagure/ui/repo.py b/pagure/ui/repo.py index e068eeb..b6e717c 100644 --- a/pagure/ui/repo.py +++ b/pagure/ui/repo.py @@ -3421,12 +3421,11 @@ def generate_project_archive( _log.debug("No ARCHIVE_FOLDER specified in the configuration") flask.abort( 404, - "This pagure instance isn't configured to support this feature") + "This pagure instance isn't configured to support this feature", + ) if not os.path.exists(archive_folder): _log.debug("No ARCHIVE_FOLDER could not be found on disk") - flask.abort( - 500, - "Incorrect configuration, please contact your admin") + flask.abort(500, "Incorrect configuration, please contact your admin") extensions = ["tar.gz", "tar", "zip"] if extension not in extensions: