summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch/cvs.py
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2006-01-05 20:14:21 +0000
committerHolger Hans Peter Freyther <zecke@selfish.org>2006-01-05 20:14:21 +0000
commitc4e44beed02739556f01a7a1c26b0657d3e699b6 (patch)
treee5ffc3b5cdc622bdcebbe3c7780706d76ed1b19e /lib/bb/fetch/cvs.py
parentdcf8e5e245911ea22931904ebc76379cd0fa9d5f (diff)
downloadbitbake-c4e44beed02739556f01a7a1c26b0657d3e699b6.tar.gz
bitbake/lib/bb/fetch:
Add a getSRCDate static method to the Fetcher Baseclass to extract the SRCDATE with fallbacks to CVSDATE and DATE Switch over users of CVSDATE to this new method.
Diffstat (limited to 'lib/bb/fetch/cvs.py')
-rw-r--r--lib/bb/fetch/cvs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch/cvs.py b/lib/bb/fetch/cvs.py
index 7935744e7..461a2f50f 100644
--- a/lib/bb/fetch/cvs.py
+++ b/lib/bb/fetch/cvs.py
@@ -60,7 +60,7 @@ class Cvs(Fetch):
date = parm['date']
else:
if not tag:
- date = data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1)
+ date = Fetch.getSRCDate(d)
else:
date = ""
@@ -105,7 +105,7 @@ class Cvs(Fetch):
date = parm['date']
else:
if not tag:
- date = data.getVar("CVSDATE", d, 1) or data.getVar("DATE", d, 1)
+ date = Fetch.getSRCDate(d)
else:
date = ""