chiark / gitweb /
Fix a debugging message which was spuriously sent to stderr.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2011 20:26:27 +0000 (21:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 14 Aug 2011 20:26:43 +0000 (21:26 +0100)
Thanks to report and fix from Timo Lindfors.

debian/changelog
runner/adt-run

index 55f529eb0962b9afe0a7f722969df0822985d4d8..c54e10fad33d92f8fe360f43ed2a3e42b6382eaa 100644 (file)
@@ -6,6 +6,7 @@ autopkgtest (2.0.1) unstable; urgency=medium
     - Do not duplicate previous stanzas (closes: #637333).
     - Make adt-run --quiet work (closes: #637350).
     - Make "build-needed" restriction work (closes: #637353).
+    - Fix a debugging message which was spuriously sent to stderr.
 
  --
 
index 0e9168e25239f360fae0f8c2a7aa56ec3db283d4..1de59342fbd8f8a46b0d28b964f30f54542e4924 100755 (executable)
@@ -1052,7 +1052,7 @@ class Field_Tests(FieldIgnore): pass
 
 class Field_Depends(FieldBase):
  def parse(f):
-       print >>sys.stderr, "Field_Depends:", `f.stz`, `f.base`, `f.tnames`, `f.vl`
+       debug("Field_DependS: %s %s %s %s" % (f.stz, f.base, f.tnames, f.vl), 2)
        dl = map(lambda x: x.strip(),
                flatten(map(lambda (lno, v): v.split(','), f.vl)))
        re = regexp.compile('[^-.+:~0-9a-z()<>=*@]')