Introduce PkgPolicy.is_valid_orig_archive()
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 9 Jul 2012 13:10:37 +0000 (16:10 +0300)
committerJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 09:59:59 +0000 (17:59 +0800)
commitf51b0efbe56c7441a1056eec6e9ef4e52387b965
tree8fd0858e71901d8eb3edd796c11d5e7c974b70a8
parent3763ee4e3f0a3160da0c531d534b07c186a74cc0
Introduce PkgPolicy.is_valid_orig_archive()

A new method for checking if the given filename is usable as a orig
(upstream) source archive.

Also, takes this method into use in the UpstreamSource class.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Conflicts:
gbp/pkg/__init__.py