summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-04 11:03:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:36 +0000
commit806d1c25f8ca8ab5116652e6f82f7d9ee5774278 (patch)
treeb5bfc809cc97bffc8b4853e5f99e258a56d21cf7 /bitbake
parentf60d9d6bd4bb7691b62bf1f4b1fbeaa1faa53879 (diff)
downloadopenembedded-core-806d1c25f8ca8ab5116652e6f82f7d9ee5774278.tar.gz
openembedded-core-806d1c25f8ca8ab5116652e6f82f7d9ee5774278.tar.bz2
openembedded-core-806d1c25f8ca8ab5116652e6f82f7d9ee5774278.zip
bitbake/fetch2: Drop legacy CVSDATE support
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 5cd7061cf4..95841b453e 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -683,12 +683,12 @@ class FetchData(object):
if "srcdate" in self.parm:
return self.parm['srcdate']
- pn = data.getVar("PN", d, 1)
+ pn = data.getVar("PN", d, True)
if pn:
- return data.getVar("SRCDATE_%s" % pn, d, 1) or data.getVar("CVSDATE_%s" % pn, d, 1) or data.getVar("SRCDATE", d, 1) or data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1)
+ return data.getVar("SRCDATE_%s" % pn, d, True) or data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
- return data.getVar("SRCDATE", d, 1) or data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1)
+ return data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
class FetchMethod(object):
"""Base class for 'fetch'ing data"""