X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=90dd5dc56996c48b63f5b8ac0f7eefaca0c1e7c1;hb=c4458d7e67ef7780e032f5a6f2b16d1f22f7677c;hp=6761a419fa4ef0887ee3b3a125df07700ec28313;hpb=07bfac59c90efd83893b537be4e3c693cb77bb5d;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 6761a419..90dd5dc5 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -323,13 +323,15 @@ def check_distributions(): ################################################################################ def check_deb_ar(filename): - """Sanity check the ar of a .deb, i.e. that there is: + """ + Sanity check the ar of a .deb, i.e. that there is: - o debian-binary - o control.tar.gz - o data.tar.gz or data.tar.bz2 + 1. debian-binary + 2. control.tar.gz + 3. data.tar.gz or data.tar.bz2 -in that order, and nothing else.""" + in that order, and nothing else. + """ cmd = "ar t %s" % (filename) (result, output) = commands.getstatusoutput(cmd) if result != 0: