Remove useless 'is_compressed' check for bmap and asc files which are never
compressed, since compression is currently detected by file extention, so .bmap
and .asc extentions always correspond to an uncompressed file.
Change-Id: I93e743bc760f0f37d6fcee8bc079eade532708f1
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
log.info("discovered signature file for bmap '%s'" % sig_path)
# If the stand-alone signature file is not local, make a local copy
- if sig_obj.is_compressed or sig_obj.is_url:
+ if sig_obj.is_url:
try:
tmp_obj = tempfile.NamedTemporaryFile("w+")
except IOError as err:
if ext == '':
return (None, None)
- if not bmap_obj.is_compressed and not bmap_obj.is_url:
+ if not bmap_obj.is_url:
return (bmap_obj, bmap_path)
try: