From c96df8611171e48d4b34f0b7dceabe93d431ef96 Mon Sep 17 00:00:00 2001 From: Yun Xu Date: Mon, 9 Oct 2017 07:58:04 -0700 Subject: [PATCH] make flake8 happy --- sanic/router.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sanic/router.py b/sanic/router.py index c57d808f..21c98766 100644 --- a/sanic/router.py +++ b/sanic/router.py @@ -94,7 +94,9 @@ class Router: if ':' in parameter_string: name, pattern = parameter_string.split(':', 1) if not name: - raise ValueError("Invalid parameter syntax: {}".format(parameter_string)) + raise ValueError( + "Invalid parameter syntax: {}".format(parameter_string) + ) default = (str, pattern) # Pull from pre-configured types