summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-11-17 11:55:21 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:41 +0000
commitd0d67a9fe279d26423494946666a5ca0acc5d66f (patch)
treeced09a3e737f86f6c081a5d8300320eaafb729fe /bitbake
parent814c80f53c29802153120f95dfdb5750e3fb09cc (diff)
downloadopenembedded-core-d0d67a9fe279d26423494946666a5ca0acc5d66f.tar.gz
openembedded-core-d0d67a9fe279d26423494946666a5ca0acc5d66f.tar.bz2
openembedded-core-d0d67a9fe279d26423494946666a5ca0acc5d66f.tar.xz
openembedded-core-d0d67a9fe279d26423494946666a5ca0acc5d66f.zip
fetch: rename suppports_srcrev to supports_srcrev
osc had it already spelled correctly?! (Bitbake rev: b8bb4433de7a981c6826173e926ca34705c4ac70) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py6
-rw-r--r--bitbake/lib/bb/fetch/bzr.py2
-rw-r--r--bitbake/lib/bb/fetch/git.py2
-rw-r--r--bitbake/lib/bb/fetch/hg.py2
-rw-r--r--bitbake/lib/bb/fetch/repo.py2
-rw-r--r--bitbake/lib/bb/fetch/svn.py2
6 files changed, 8 insertions, 8 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index 40b0c699a..faf7fc489 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -385,11 +385,11 @@ def get_srcrev(d):
scms = []
- # Only call setup_localpath on URIs which suppports_srcrev()
+ # Only call setup_localpath on URIs which supports_srcrev()
urldata = init(bb.data.getVar('SRC_URI', d, 1).split(), d, False)
for u in urldata:
ud = urldata[u]
- if ud.method.suppports_srcrev():
+ if ud.method.supports_srcrev():
if not ud.setup:
ud.setup_localpath(d)
scms.append(u)
@@ -622,7 +622,7 @@ class Fetch(object):
"""
return False
- def suppports_srcrev(self):
+ def supports_srcrev(self):
"""
The fetcher supports auto source revisions (SRCREV)
"""
diff --git a/bitbake/lib/bb/fetch/bzr.py b/bitbake/lib/bb/fetch/bzr.py
index 3ca125f37..4cd51cb33 100644
--- a/bitbake/lib/bb/fetch/bzr.py
+++ b/bitbake/lib/bb/fetch/bzr.py
@@ -116,7 +116,7 @@ class Bzr(Fetch):
pass
raise t, v, tb
- def suppports_srcrev(self):
+ def supports_srcrev(self):
return True
def _revision_key(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 8a00a013f..a2fbd78cb 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -192,7 +192,7 @@ class Git(Fetch):
os.chdir(ud.clonedir)
bb.utils.prunedir(codir)
- def suppports_srcrev(self):
+ def supports_srcrev(self):
return True
def _contains_ref(self, tag, d):
diff --git a/bitbake/lib/bb/fetch/hg.py b/bitbake/lib/bb/fetch/hg.py
index ca3a084bb..264a52da9 100644
--- a/bitbake/lib/bb/fetch/hg.py
+++ b/bitbake/lib/bb/fetch/hg.py
@@ -162,7 +162,7 @@ class Hg(Fetch):
pass
raise t, v, tb
- def suppports_srcrev(self):
+ def supports_srcrev(self):
return True
def _latest_revision(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch/repo.py b/bitbake/lib/bb/fetch/repo.py
index 479479681..bafdb2a17 100644
--- a/bitbake/lib/bb/fetch/repo.py
+++ b/bitbake/lib/bb/fetch/repo.py
@@ -95,7 +95,7 @@ class Repo(Fetch):
# Create a cache
runfetchcmd("tar --exclude=.repo --exclude=.git -czf %s %s" % (ud.localpath, os.path.join(".", "*") ), d)
- def suppports_srcrev(self):
+ def supports_srcrev(self):
return False
def _build_revision(self, url, ud, d):
diff --git a/bitbake/lib/bb/fetch/svn.py b/bitbake/lib/bb/fetch/svn.py
index c236e413f..538b4c2a2 100644
--- a/bitbake/lib/bb/fetch/svn.py
+++ b/bitbake/lib/bb/fetch/svn.py
@@ -168,7 +168,7 @@ class Svn(Fetch):
pass
raise t, v, tb
- def suppports_srcrev(self):
+ def supports_srcrev(self):
return True
def _revision_key(self, url, ud, d):