kas: added version output when starting kas

The used version of kas is useful to have in resulting build logs.

Signed-off-by: Claudius Heine <ch@denx.de>
This commit is contained in:
Claudius Heine 2017-10-19 11:05:49 +02:00 committed by Daniel Wagner
parent 5d7fae7094
commit 3eff938a54

View File

@ -136,6 +136,8 @@ def kas(argv):
if args.debug:
logging.getLogger().setLevel(logging.DEBUG)
logging.info('%s %s started', os.path.basename(sys.argv[0]), __version__)
loop = asyncio.get_event_loop()
for sig in (signal.SIGINT, signal.SIGTERM):