X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=inline;f=dak%2Fprocess_unchecked.py;h=90dd5dc56996c48b63f5b8ac0f7eefaca0c1e7c1;hb=c4458d7e67ef7780e032f5a6f2b16d1f22f7677c;hp=43fc087a441d8df66ecd29c083a3b05dcd7f7a65;hpb=9159b8f3d7b693cde358287e968025e290c109f3;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 43fc087a..90dd5dc5 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Checks Debian packages from Incoming +""" Checks Debian packages from Incoming """ # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 James Troup # This program is free software; you can redistribute it and/or modify @@ -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: