From 1c4693e8cff246077e134eca89ea1f0a7547e83d Mon Sep 17 00:00:00 2001 From: crflynn Date: Wed, 12 Dec 2018 13:13:57 -0500 Subject: [PATCH] disable api --- pypistats/views/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pypistats/views/api.py b/pypistats/views/api.py index 021ac6e..eb5b234 100644 --- a/pypistats/views/api.py +++ b/pypistats/views/api.py @@ -54,7 +54,7 @@ def api_downloads_recent(package): @blueprint.route("/packages//overall") def api_downloads_overall(package): """Get the overall download time series of a package.""" - # abort(503) + abort(503) package = package.replace(".", "-") mirrors = request.args.get("mirrors") if mirrors == "true": @@ -107,7 +107,7 @@ def api_downloads_system(package): def generic_downloads(model, package, arg, name): """Generate a generic response.""" - # abort(503) + abort(503) package = package.replace(".", "-") category = request.args.get(arg) if category is not None: