Browse Source

Removed ridiculous constructor from AppGroup

pull/1161/head
Armin Ronacher 10 years ago
parent
commit
2f60124894
  1. 3
      flask/cli.py

3
flask/cli.py

@ -294,9 +294,6 @@ class AppGroup(click.Group):
Not to be confused with :class:`FlaskGroup`. Not to be confused with :class:`FlaskGroup`.
""" """
def __init__(self, app):
click.Group.__init__(self)
def command(self, *args, **kwargs): def command(self, *args, **kwargs):
"""This works exactly like the method of the same name on a regular """This works exactly like the method of the same name on a regular
:class:`click.Group` but it wraps callbacks in :func:`with_appcontext` :class:`click.Group` but it wraps callbacks in :func:`with_appcontext`

Loading…
Cancel
Save