]> err.no Git - dak/commitdiff
And that is probably (not) ganneffs fault
authorJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 09:27:06 +0000 (10:27 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 30 Oct 2009 09:27:06 +0000 (10:27 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/dakdb/update18.py

index 3bf1fbf8723cf9922460e8638c81f7c5ad3809c1..b81414186632c73428a36c10400558c96fc63f8c 100755 (executable)
@@ -127,23 +127,23 @@ def do_update(self):
                 print "Looking into %s" % (checkdir)
                 for filename in os.listdir(checkdir):
                     if not filename.endswith(".changes"):
-                            # Only interested in changes files.
-                            continue
-                        try:
-                            count += 1
-                            print "Directory %s, file %7d, failures %3d. (%s)" % (directory, count, failure, filename)
-                            changes = Changes()
-                            changes.changes_file = filename
-                            changesfile = os.path.join(checkdir, filename)
-                            changes.changes = parse_changes(changesfile, signing_rules=-1)
-                            changes.changes["fingerprint"], = check_signature(changesfile)
-                            changes.add_known_changes(directory)
-                        except InvalidDscError, line:
-                            warn("syntax error in .dsc file '%s', line %s." % (f, line))
-                            failure += 1
-                        except ChangesUnicodeError:
-                            warn("found invalid changes file, not properly utf-8 encoded")
-                            failure += 1
+                        # Only interested in changes files.
+                        continue
+                    try:
+                        count += 1
+                        print "Directory %s, file %7d, failures %3d. (%s)" % (directory, count, failure, filename)
+                        changes = Changes()
+                        changes.changes_file = filename
+                        changesfile = os.path.join(checkdir, filename)
+                        changes.changes = parse_changes(changesfile, signing_rules=-1)
+                        changes.changes["fingerprint"], = check_signature(changesfile)
+                        changes.add_known_changes(directory)
+                    except InvalidDscError, line:
+                        warn("syntax error in .dsc file '%s', line %s." % (f, line))
+                        failure += 1
+                    except ChangesUnicodeError:
+                        warn("found invalid changes file, not properly utf-8 encoded")
+                        failure += 1
 
 
         c.execute("GRANT ALL ON known_changes TO ftpmaster;")