remporary reverting model sorting patch until better understanding
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+2
-2
@@ -515,11 +515,11 @@ def run_models_in(environment):
|
|||||||
for model in listdir(cpath, '^models_\w+\.pyc$', 0):
|
for model in listdir(cpath, '^models_\w+\.pyc$', 0):
|
||||||
restricted(read_pyc(model), environment, layer=model)
|
restricted(read_pyc(model), environment, layer=model)
|
||||||
path = pjoin(cpath, 'models')
|
path = pjoin(cpath, 'models')
|
||||||
models = listdir(path, '^\w+\.pyc$', 0)
|
models = listdir(path, '^\w+\.pyc$', 0, sort=False)
|
||||||
compiled = True
|
compiled = True
|
||||||
else:
|
else:
|
||||||
path = pjoin(folder, 'models')
|
path = pjoin(folder, 'models')
|
||||||
models = listdir(path, '^\w+\.py$', 0)
|
models = listdir(path, '^\w+\.py$', 0, sort=False)
|
||||||
compiled = False
|
compiled = False
|
||||||
n = len(path) + 1
|
n = len(path) + 1
|
||||||
for model in models:
|
for model in models:
|
||||||
|
|||||||
Reference in New Issue
Block a user