TransRead: improve file size detection
authorArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Dec 2012 09:38:43 +0000 (11:38 +0200)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Fri, 14 Dec 2012 15:47:17 +0000 (17:47 +0200)
commitc94f763283c55e73ec32947c31a6f4f2e89b2764
tree163629edb91ad744933b72612ad45ee02e81b263
parent2e38f1d947fa3fec73c782d070c0c111f682142b
TransRead: improve file size detection

In case of a tar archive, we know the file size for 'TarInfo'. Propagate it to
the users via our 'size' attribute.

Change-Id: I11dc7daa1d788fe98769ba6537f4117d89d06b34
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/TransRead.py