summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-17 21:07:40 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-10-17 21:07:40 +0100
commitac4d25c89a5133790ec163ca6e1a1de0b8624ca1 (patch)
tree06b2d4d05354c29800172d2890fccf458c490651
parent627d9b1bde25422ccde4e313ee3c954b5c9b2932 (diff)
downloadopenembedded-core-ac4d25c89a5133790ec163ca6e1a1de0b8624ca1.tar.gz
openembedded-core-ac4d25c89a5133790ec163ca6e1a1de0b8624ca1.tar.bz2
openembedded-core-ac4d25c89a5133790ec163ca6e1a1de0b8624ca1.tar.xz
openembedded-core-ac4d25c89a5133790ec163ca6e1a1de0b8624ca1.zip
bitbake: Fix svk fetcher
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--bitbake-dev/lib/bb/fetch/svk.py5
-rw-r--r--bitbake/lib/bb/fetch/svk.py6
2 files changed, 5 insertions, 6 deletions
diff --git a/bitbake-dev/lib/bb/fetch/svk.py b/bitbake-dev/lib/bb/fetch/svk.py
index 4dfae1819..442f85804 100644
--- a/bitbake-dev/lib/bb/fetch/svk.py
+++ b/bitbake-dev/lib/bb/fetch/svk.py
@@ -67,11 +67,10 @@ class Svk(Fetch):
svkroot = ud.host + ud.path
- # pyflakes claims date is not known... it looks right
- svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module)
+ svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module)
if ud.revision:
- svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module)
+ svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module)
# create temp directory
localdata = data.createCopy(d)
diff --git a/bitbake/lib/bb/fetch/svk.py b/bitbake/lib/bb/fetch/svk.py
index d863ccb6e..442f85804 100644
--- a/bitbake/lib/bb/fetch/svk.py
+++ b/bitbake/lib/bb/fetch/svk.py
@@ -25,7 +25,7 @@ This implementation is for svk. It is based on the svn implementation
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
-import os, re
+import os
import bb
from bb import data
from bb.fetch import Fetch
@@ -67,10 +67,10 @@ class Svk(Fetch):
svkroot = ud.host + ud.path
- svkcmd = "svk co -r {%s} %s/%s" % (date, svkroot, ud.module)
+ svkcmd = "svk co -r {%s} %s/%s" % (ud.date, svkroot, ud.module)
if ud.revision:
- svkcmd = "svk co -r %s/%s" % (ud.revision, svkroot, ud.module)
+ svkcmd = "svk co -r %s %s/%s" % (ud.revision, svkroot, ud.module)
# create temp directory
localdata = data.createCopy(d)