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:


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/secure-testing-commits

Reply via email to