aboutsummaryrefslogtreecommitdiffstats
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-10 23:37:04 +0000
commit1174b2955ed95b8e01ab751cf0487fe82dddef03 (patch)
treef5b7926cc9baaf056be3d942249ebca377dd62f4
parent8619538e7579f17ce95ae3243758c3f9ecdca0e6 (diff)
downloadbitbake-1174b2955ed95b8e01ab751cf0487fe82dddef03.tar.gz
bitbake-1174b2955ed95b8e01ab751cf0487fe82dddef03.tar.bz2
bitbake-1174b2955ed95b8e01ab751cf0487fe82dddef03.zip
bitbake/fetch2: Drop legacy CVSDATE support
(From Poky rev: 806d1c25f8ca8ab5116652e6f82f7d9ee5774278) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/fetch2/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 5cd7061c..95841b45 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/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"""