From 65805c91454a9934be0c6ea9445188f935f297eb Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 5 Aug 2020 17:10:02 +0200 Subject: [PATCH] core: fix non-determinism in resources.py.mako --- core/src/trezor/res/resources.py.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/trezor/res/resources.py.mako b/core/src/trezor/res/resources.py.mako index a180cdeec0..d71e4cccb2 100644 --- a/core/src/trezor/res/resources.py.mako +++ b/core/src/trezor/res/resources.py.mako @@ -14,7 +14,7 @@ PATTERNS = ( "apps/*/res/**/*.toif", ) -resfiles = chain.from_iterable(SRCDIR.glob(p) for p in PATTERNS) +resfiles = chain.from_iterable(sorted(SRCDIR.glob(p)) for p in PATTERNS) %>\ def load_resource(name: str) -> bytes: