From e11aa24b7da1051267c4afa24e9c05781b3f7a45 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 8 Nov 2012 10:02:46 -0600 Subject: [PATCH] typo in compileapp, issue 1149, thanks Corne --- VERSION | 2 +- gluon/compileapp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 104317a8..223e83b0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.2.1 (2012-11-08 09:59:04) stable +Version 2.2.1 (2012-11-08 10:02:43) stable diff --git a/gluon/compileapp.py b/gluon/compileapp.py index b98e77aa..875f732b 100644 --- a/gluon/compileapp.py +++ b/gluon/compileapp.py @@ -453,7 +453,7 @@ def compile_views(folder): """ path = pjoin(folder, 'views') - for file in listdir(path, '^[\w/\-]+(\.\w+)+$'): + for file in listdir(path, '^[\w/\-]+(\.\w+)*$'): try: data = parse_template(file, path) except Exception, e: