X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils.py;h=2b40501cfac2bf6e59298578800cbf7a1a7a45e5;hb=2ccf4d8d6768f6ccc439955dbd68dd27596b309d;hp=af196e572b3958d4b2f54dada403a4c188ecc5a3;hpb=0a5f0ba0438ed59261f8bc75190846e0851a26a9;p=dak.git diff --git a/utils.py b/utils.py index af196e57..2b40501c 100644 --- a/utils.py +++ b/utils.py @@ -1,8 +1,8 @@ #!/usr/bin/env python # Utility functions -# Copyright (C) 2000, 2001, 2002, 2003 James Troup -# $Id: utils.py,v 1.60 2003-11-17 17:59:29 troup Exp $ +# Copyright (C) 2000, 2001, 2002, 2003, 2004 James Troup +# $Id: utils.py,v 1.61 2004-01-21 03:20:52 troup Exp $ ################################################################################ @@ -182,6 +182,9 @@ def parse_changes(filename, dsc_whitespace_rules=0): index += 1; line = indexed_lines[index]; continue; + # If we're not inside the signed data, don't process anything + if not inside_signature: + continue; slf = re_single_line_field.match(line); if slf: field = slf.groups()[0].lower();