chiark / gitweb /
buildserver: move code into main() method to always stop thread
authorHans-Christoph Steiner <hans@eds.org>
Sun, 25 Sep 2016 16:55:29 +0000 (18:55 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 23 May 2017 18:04:08 +0000 (20:04 +0200)
commit6464ec55b776ff2eb0c72cf280122d983c675555
treeb8dee367638d06326c701f294057d9f614db9d19
parent675500ad8804aec57608d1f143d6807ba7cebbba
buildserver: move code into main() method to always stop thread

By running the whole program in a main() function, it can be wrapped in
try/finally in order to stop the background display thread.  This is also
done in ./fdroid, its standard practice for Python CLI utilities.
makebuildserver