From 63d66e4b5f72e621f14ed63e12e86318b67b36be Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Fri, 7 Mar 2014 14:06:08 -0300 Subject: [PATCH] pep8 --- luncho/blueprints/index.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/luncho/blueprints/index.py b/luncho/blueprints/index.py index 1b28fb4..6a402eb 100644 --- a/luncho/blueprints/index.py +++ b/luncho/blueprints/index.py @@ -12,7 +12,8 @@ from flask import current_app index = Blueprint('index', __name__) -@index.route('') + +@index.route('', methods=['GET']) def show_routes(): """List the current API""" routes = [] @@ -24,7 +25,7 @@ def show_routes(): continue path = str(rule) - methods = rule.methods + # methods = rule.methods doc = current_app.view_functions[endpoint].__doc__ routes.append([