Fix syntax error on py3
This commit is contained in:
parent
ed49fe3db1
commit
f17ad953dd
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ from functools import update_wrapper
|
||||||
|
|
||||||
import click
|
import click
|
||||||
|
|
||||||
from ._compat import iteritems
|
from ._compat import iteritems, reraise
|
||||||
|
|
||||||
|
|
||||||
class NoAppException(click.UsageError):
|
class NoAppException(click.UsageError):
|
||||||
|
|
@ -128,7 +128,7 @@ class DispatchingApp(object):
|
||||||
exc_info = self._bg_loading_exc_info
|
exc_info = self._bg_loading_exc_info
|
||||||
if exc_info is not None:
|
if exc_info is not None:
|
||||||
self._bg_loading_exc_info = None
|
self._bg_loading_exc_info = None
|
||||||
raise exc_info[0], exc_info[1], exc_info[2]
|
reraise(*exc_info)
|
||||||
|
|
||||||
def _load_unlocked(self):
|
def _load_unlocked(self):
|
||||||
self._app = rv = self.loader()
|
self._app = rv = self.loader()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue