[Secure-testing-commits] r16654 - bin

Florian Weimer fw at alioth.debian.org
Tue May 10 19:55:09 UTC 2011


Author: fw
Date: 2011-05-10 19:55:08 +0000 (Tue, 10 May 2011)
New Revision: 16654

Modified:
   bin/gen-DSA.py
Log:
bin/gen-DSA.py: simplify conditional


Modified: bin/gen-DSA.py
===================================================================
--- bin/gen-DSA.py	2011-05-10 19:54:01 UTC (rev 16653)
+++ bin/gen-DSA.py	2011-05-10 19:55:08 UTC (rev 16654)
@@ -221,8 +221,7 @@
             if isinstance(ann, bugs.PackageNoteParsed):
                 if ann.fixed_version is None:
                     return None # some bug is not fixed
-                if ann.fixed_version is not None \
-                        and ann.fixed_version != vzero \
+                if ann.fixed_version != vzero \
                         and ann.package == package and rel == codename:
                     versions.append(ann.fixed_version)
     if versions:




More information about the Secure-testing-commits mailing list