Permalink
Browse files

app.modules -> app.blueprints

  • Loading branch information...
1 parent a05f470 commit 10104e98cf89b1e57f8359b0209307fefaee2ea1 @mitsuhiko mitsuhiko committed Jun 5, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 scripts/flask-07-upgrade.py
@@ -45,7 +45,8 @@
_mod_route_re = re.compile(r'([a-zA-Z0-9_][a-zA-Z0-9_]*)\.route')
_blueprint_related = [
(re.compile(r'request\.module'), 'request.blueprint'),
- (re.compile(r'register_module'), 'register_blueprint')
+ (re.compile(r'register_module'), 'register_blueprint'),
+ (re.compile(r'app\.modules'), 'app.blueprints')
]

0 comments on commit 10104e9

Please sign in to comment.