1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 01:18:28 +00:00

core: fix non-determinism in resources.py.mako

This commit is contained in:
Pavol Rusnak 2020-08-05 17:10:02 +02:00
parent 4029fc1e1c
commit 65805c9145
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -14,7 +14,7 @@ PATTERNS = (
"apps/*/res/**/*.toif", "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: def load_resource(name: str) -> bytes: