Add version representation for downloaded images 78/76078/4
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Thu, 16 Jun 2016 11:41:46 +0000 (13:41 +0200)
committerAleksander Mistewicz <a.mistewicz@samsung.com>
Mon, 4 Jul 2016 12:36:09 +0000 (14:36 +0200)
commit54329e768cb4df4054d4756e5b0be1ada1744010
treeeab930352aa82b1d5d95ce2cc3f57ea2a64e5829
parent728babb2e82b0f73365e1ac0f69440717f5d673a
Add version representation for downloaded images

This patch introduces ImageVersion class. It can replace calls to
ImageDownloader.extract_nr() and is suitable for both prerelease and
snapshot images.

Change-Id: If6b32309c1b87d1ad2b7c62ca0246dcb0ff3dc47
tsp/scripts/download_image.py