diff options
author | Deepak S <deepak.s@linux.intel.com> | 2017-01-18 15:04:44 +0530 |
---|---|---|
committer | Deepak S <deepak.s@linux.intel.com> | 2017-01-19 02:17:56 +0530 |
commit | b56008ed0978632063f6dd9653f9d7a2070e2727 (patch) | |
tree | e71a4080378f36473f18e6a0154d0a9984a572d5 /samples/tosca.yaml | |
parent | ea706beda50f87ae37799bd8f0313d177909a4ff (diff) |
Re-factor Node.py to use better python inbuilt functions
1. don't use sys.exit() to exit when there is an exception, it will hide
the underlying error
2. use the Abstract Base Classes for type checking.
3. don't have to build list, can use next
JIRA: YARDSTICK-541
Change-Id: Id4485acb21e7e02bbc22d3e689cbf0699363098a
Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Diffstat (limited to 'samples/tosca.yaml')
0 files changed, 0 insertions, 0 deletions