bit of a tidyup of crtl:
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Dec 2021 14:26:47 +0000 (14:26 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 23 Dec 2021 14:26:47 +0000 (14:26 +0000)
commitf021359be8eae5e8ac3645d0ec08c6f368567069
tree5072509ce082f5ead402aee0598ffa830c94b214
parent8d86fe3062c3df4d7a833bd008025f714b4761d4
bit of a tidyup of crtl:
* code-comments for template-creation
* use "with open(xxx) as file" rather than explicit open-then-close
* use abspath on __file__ to get the relative position of the templates
  (makes it possible to run from locations other than current directory)
* add the module location to sys.path so as to be able to get at it
  (again even when running from locations other than cwd)
src/openpower/decoder/test/pysim.py