From 27811b8487c708302aaf86f88789f3d41d642312 Mon Sep 17 00:00:00 2001 From: Eric Froemling Date: Tue, 15 Jun 2021 10:49:02 -0500 Subject: [PATCH] tidying --- assets/src/ba_data/python/._ba_sources_hash | 2 +- tools/batools/dummymodule.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/assets/src/ba_data/python/._ba_sources_hash b/assets/src/ba_data/python/._ba_sources_hash index fe0338ff..e4a5e599 100644 --- a/assets/src/ba_data/python/._ba_sources_hash +++ b/assets/src/ba_data/python/._ba_sources_hash @@ -1 +1 @@ -168473775412204194101843586699698465034 \ No newline at end of file +226926683788933102100058650343380221118 \ No newline at end of file diff --git a/tools/batools/dummymodule.py b/tools/batools/dummymodule.py index d5d0e287..95f6aa00 100755 --- a/tools/batools/dummymodule.py +++ b/tools/batools/dummymodule.py @@ -682,10 +682,11 @@ def _dummy_module_dirty() -> Tuple[bool, str]: with open(outpath) as infile: existing_hash = infile.read() + # Important to keep this deterministic... pysources.sort() - # Note: returning plain integers instead of hex so linters - # don't see words and give spelling errors. + # Note: going with plain integers instead of hex so linters + # don't see words and whine about spelling errors. pysources_hash = get_files_hash(pysources, int_only=True) dirty = existing_hash != pysources_hash return dirty, pysources_hash