From f17ad953dd2e563f91cc9ed2bca19ea23464b5dc Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Wed, 3 Sep 2014 15:27:06 +0200 Subject: [PATCH] Fix syntax error on py3 --- flask/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask/cli.py b/flask/cli.py index ec0e0c22..8b75643a 100644 --- a/flask/cli.py +++ b/flask/cli.py @@ -16,7 +16,7 @@ from functools import update_wrapper import click -from ._compat import iteritems +from ._compat import iteritems, reraise class NoAppException(click.UsageError): @@ -128,7 +128,7 @@ class DispatchingApp(object): exc_info = self._bg_loading_exc_info if exc_info is not None: self._bg_loading_exc_info = None - raise exc_info[0], exc_info[1], exc_info[2] + reraise(*exc_info) def _load_unlocked(self): self._app = rv = self.loader()