config: Refactor the network switch configuration file
authorGabor Dozsa <gabor.dozsa@arm.com>
Tue, 14 Feb 2017 21:09:18 +0000 (15:09 -0600)
committerGabor Dozsa <gabor.dozsa@arm.com>
Tue, 14 Feb 2017 21:09:18 +0000 (15:09 -0600)
commit3bdd58ccb40191ec1422725c7dc86a250ad7ef4e
tree3dbfefe233f5a3c7013ffe3db351b9f5f4aefc17
parent54c478c0b867c3021cc19190fd32575a8c092560
config: Refactor the network switch configuration file

This patch prevents the body of the script getting executed when
the script is imported as a module.

Change-Id: I70a50f6295f1e7a088398017f5fa9d06fe90476a
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
configs/dist/sw.py