From 806d1c25f8ca8ab5116652e6f82f7d9ee5774278 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 4 Feb 2011 11:03:34 +0000 Subject: bitbake/fetch2: Drop legacy CVSDATE support Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch2/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake/lib') diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 5cd7061cf..95841b453 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""" -- cgit v1.2.3