[Collab-qa-commits] r1919 - udd/udd

Andreas Tille tille at alioth.debian.org
Fri Mar 11 07:40:08 UTC 2011


Author: tille
Date: 2011-03-11 07:40:03 +0000 (Fri, 11 Mar 2011)
New Revision: 1919

Modified:
   udd/udd/ftpnew_gatherer.py
Log:
Do not warn about some valid fields in control file which are simply not used here


Modified: udd/udd/ftpnew_gatherer.py
===================================================================
--- udd/udd/ftpnew_gatherer.py	2011-03-11 07:33:49 UTC (rev 1918)
+++ udd/udd/ftpnew_gatherer.py	2011-03-11 07:40:03 UTC (rev 1919)
@@ -422,7 +422,7 @@
                 print >>srco, "%s: %s" % (field, value)
               else:
                 # Don't warn about Original-Maintainer field
-                if not field.startswith('Original-Maintainer'):
+                if not field in ('Original-Maintainer', 'Multi-Arch', 'Python3-Version'):
                   print >>stderr, "Unknown field in %s: %s" % (srcpkg.s['Source'], field)
                 print >>srco, "*%s: %s" % (field, value)
             continue




More information about the Collab-qa-commits mailing list