Permalink
Browse files

Alternative names for app

  • Loading branch information...
1 parent 10104e9 commit 17d1ade6b956a1dc508f096f951fc52800b2a20e @mitsuhiko mitsuhiko committed Jun 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/flask-07-upgrade.py
@@ -46,7 +46,7 @@
_blueprint_related = [
(re.compile(r'request\.module'), 'request.blueprint'),
(re.compile(r'register_module'), 'register_blueprint'),
- (re.compile(r'app\.modules'), 'app.blueprints')
+ (re.compile(r'(app|application)\.modules'), '\\1.blueprints')
]

0 comments on commit 17d1ade

Please sign in to comment.