]> git.decadent.org.uk Git - dak.git/blobdiff - utils.py
2004-01-21 James Troup <james@nocrew.org> * utils.py (parse_changes): don't process...
[dak.git] / utils.py
index af196e572b3958d4b2f54dada403a4c188ecc5a3..2b40501cfac2bf6e59298578800cbf7a1a7a45e5 100644 (file)
--- a/utils.py
+++ b/utils.py
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
 
 # Utility functions
-# Copyright (C) 2000, 2001, 2002, 2003  James Troup <james@nocrew.org>
-# $Id: utils.py,v 1.60 2003-11-17 17:59:29 troup Exp $
+# Copyright (C) 2000, 2001, 2002, 2003, 2004  James Troup <james@nocrew.org>
+# $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();