From 0cdfe3d57b52e9b399b7a799d5b48568432f4f12 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 21 Dec 2012 00:22:51 -0600 Subject: [PATCH] remporary reverting model sorting patch until better understanding --- VERSION | 2 +- gluon/compileapp.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 424530ca..e0a488d8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.1+timestamp.2012.12.21.00.19.28 +Version 2.4.1-alpha.1+timestamp.2012.12.21.00.22.11 diff --git a/gluon/compileapp.py b/gluon/compileapp.py index 0f2f1224..875f732b 100644 --- a/gluon/compileapp.py +++ b/gluon/compileapp.py @@ -515,11 +515,11 @@ def run_models_in(environment): for model in listdir(cpath, '^models_\w+\.pyc$', 0): restricted(read_pyc(model), environment, layer=model) path = pjoin(cpath, 'models') - models = listdir(path, '^\w+\.pyc$', 0) + models = listdir(path, '^\w+\.pyc$', 0, sort=False) compiled = True else: path = pjoin(folder, 'models') - models = listdir(path, '^\w+\.py$', 0) + models = listdir(path, '^\w+\.py$', 0, sort=False) compiled = False n = len(path) + 1 for model in models: