SOURCES: smart-missingok.patch - damn I'm stupid

patrys patrys at pld-linux.org
Wed Oct 10 00:15:36 CEST 2007


Author: patrys                       Date: Tue Oct  9 22:15:36 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- damn I'm stupid

---- Files affected:
SOURCES:
   smart-missingok.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/smart-missingok.patch
diff -u SOURCES/smart-missingok.patch:1.1 SOURCES/smart-missingok.patch:1.2
--- SOURCES/smart-missingok.patch:1.1	Tue Oct  9 16:27:10 2007
+++ SOURCES/smart-missingok.patch	Wed Oct 10 00:15:31 2007
@@ -6,8 +6,8 @@
                          if "flags" in elem.keys():
 -                            erelation = COMPMAP.get(elem.get("flags"))
 +                            flags = elem.get("flags").split(",")
-+                            if "OPTIONAL" in flags:
-+                                flags.remove("OPTIONAL")
++                            if "MISSINGOK" in flags:
++                                flags.remove("MISSINGOK")
 +                            erelation = COMPMAP.get(",".join(flags))
                          else:
                              erelation = None
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/smart-missingok.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list