summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-02 11:49:07 +0000
committerPhil Blundell <philb@gnu.org>2004-08-02 11:49:07 +0000
commit7e98041a1774ee827d3bfad46973887ffc89b844 (patch)
tree62d76888e37a927eb9a64a318f5d9e5f9f2e48ef /classes
parent15dda9bb029c9b9fd5125a13e2a0a69af4d85dac (diff)
allow empty CVSDATE_foo to override CVSDATE
BKrev: 410e2a33YmwKAulafDeHUsWBnpm9-g
Diffstat (limited to 'classes')
-rw-r--r--classes/base.oeclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/base.oeclass b/classes/base.oeclass
index 676077d2e1..fb05053d27 100644
--- a/classes/base.oeclass
+++ b/classes/base.oeclass
@@ -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: