Introduce PkgPolicy.is_valid_orig_archive()
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 9 Jul 2012 13:10:37 +0000 (16:10 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 14 Nov 2014 12:22:07 +0000 (14:22 +0200)
commit811539ed2a6a5ec37300629102a7b4bf177d1182
treed0482a10c9c35408c6b531fbf419ef449421fa21
parent6bfdaeb3e98c4183c190e6f04d472d035622e6ca
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>
gbp/pkg/__init__.py