summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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/lib/bb
parentf60d9d6bd4bb7691b62bf1f4b1fbeaa1faa53879 (diff)
downloadpoky-806d1c25f8ca8ab5116652e6f82f7d9ee5774278.tar.gz
bitbake/fetch2: Drop legacy CVSDATE support
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-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):
683 if "srcdate" in self.parm: 683 if "srcdate" in self.parm:
684 return self.parm['srcdate'] 684 return self.parm['srcdate']
685 685
686 pn = data.getVar("PN", d, 1) 686 pn = data.getVar("PN", d, True)
687 687
688 if pn: 688 if pn:
689 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) 689 return data.getVar("SRCDATE_%s" % pn, d, True) or data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
690 690
691 return data.getVar("SRCDATE", d, 1) or data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1) 691 return data.getVar("SRCDATE", d, True) or data.getVar("DATE", d, True)
692 692
693class FetchMethod(object): 693class FetchMethod(object):
694 """Base class for 'fetch'ing data""" 694 """Base class for 'fetch'ing data"""