summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/cvs.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-04 14:40:41 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 09:06:37 +0000
commit7202a77134029cb37540c785ce0161a4dd574853 (patch)
treee9b8d7d3c180260317b661ce0f325a5492d9a6db /bitbake/lib/bb/fetch2/cvs.py
parent8f2abf4a9f000d42e98c4936e393bd5033a1af48 (diff)
downloadpoky-7202a77134029cb37540c785ce0161a4dd574853.tar.gz
bitbake/fetch2: Use True instead of integer values
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2/cvs.py')
-rw-r--r--bitbake/lib/bb/fetch2/cvs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py
index b440ed7b17..b77e742c33 100644
--- a/bitbake/lib/bb/fetch2/cvs.py
+++ b/bitbake/lib/bb/fetch2/cvs.py
@@ -115,8 +115,8 @@ class Cvs(FetchMethod):
115 data.setVar('CVSROOT', cvsroot, localdata) 115 data.setVar('CVSROOT', cvsroot, localdata)
116 data.setVar('CVSCOOPTS', " ".join(options), localdata) 116 data.setVar('CVSCOOPTS', " ".join(options), localdata)
117 data.setVar('CVSMODULE', ud.module, localdata) 117 data.setVar('CVSMODULE', ud.module, localdata)
118 cvscmd = data.getVar('FETCHCOMMAND', localdata, 1) 118 cvscmd = data.getVar('FETCHCOMMAND', localdata, True)
119 cvsupdatecmd = data.getVar('UPDATECOMMAND', localdata, 1) 119 cvsupdatecmd = data.getVar('UPDATECOMMAND', localdata, True)
120 120
121 if cvs_rsh: 121 if cvs_rsh:
122 cvscmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvscmd) 122 cvscmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvscmd)