From 3f4f2ae322ba807b0729f33f3490cf77acd081f9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 12 Nov 2006 15:15:31 +0000 Subject: [PATCH] svn.py: Fix a references to date --- lib/bb/fetch/cvs.py | 2 +- lib/bb/fetch/svk.py | 2 +- lib/bb/fetch/svn.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bb/fetch/cvs.py b/lib/bb/fetch/cvs.py index 80fd9089..668b8120 100644 --- a/lib/bb/fetch/cvs.py +++ b/lib/bb/fetch/cvs.py @@ -86,7 +86,7 @@ class Cvs(Fetch): cvs_rsh = ud.parm["rsh"] # try to use the tarball stash - if (date != "now") and Fetch.try_mirror(d, ud.localfile): + if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile): bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists or was mirrored, skipping cvs checkout." % ud.localpath) return diff --git a/lib/bb/fetch/svk.py b/lib/bb/fetch/svk.py index 383ce4c7..80b16d58 100644 --- a/lib/bb/fetch/svk.py +++ b/lib/bb/fetch/svk.py @@ -72,7 +72,7 @@ class Svk(Fetch): # setup svk options options = [] - if (date != "now") and Fetch.try_mirror(d, ud.localfile): + if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile): return svkroot = ud.host + ud.path diff --git a/lib/bb/fetch/svn.py b/lib/bb/fetch/svn.py index 62c72f6c..d788c82f 100644 --- a/lib/bb/fetch/svn.py +++ b/lib/bb/fetch/svn.py @@ -74,7 +74,7 @@ class Svn(Fetch): svn_rsh = ud.parm["rsh"] # try to use the tarball stash - if (date != "now") and Fetch.try_mirror(d, ud.localfile): + if (ud.date != "now") and Fetch.try_mirror(d, ud.localfile): bb.msg.debug(1, bb.msg.domain.Fetcher, "%s already exists or was mirrored, skipping svn checkout." % ud.localpath) return -- 2.20.1