allow empty CVSDATE_foo to override CVSDATE
authorPhil Blundell <philb@gnu.org>
Mon, 2 Aug 2004 11:49:07 +0000 (11:49 +0000)
committerPhil Blundell <philb@gnu.org>
Mon, 2 Aug 2004 11:49:07 +0000 (11:49 +0000)
BKrev: 410e2a33YmwKAulafDeHUsWBnpm9-g

classes/base.oeclass

index 676077d..fb05053 100644 (file)
@@ -624,7 +624,7 @@ python __anonymous () {
        
        pn = oe.data.getVar('PN', d, 1)
        cvsdate = oe.data.getVar('CVSDATE_%s' % pn, d, 1)
-       if cvsdate:
+       if cvsdate != None:
                oe.data.setVar('CVSDATE', cvsdate, d)
 
        try: