diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-17 11:55:21 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2010-11-19 15:59:36 +0100 |
commit | b8bb4433de7a981c6826173e926ca34705c4ac70 (patch) | |
tree | 5a3a643bc9bb2cdb705cba780580556aa9846066 /lib/bb/fetch/__init__.py | |
parent | 67984ba0ac2db79874541bc031f2e3e9ff7a6c32 (diff) | |
download | bitbake-b8bb4433de7a981c6826173e926ca34705c4ac70.tar.gz |
fetch: rename suppports_srcrev to supports_srcrev
osc had it already spelled correctly?!
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'lib/bb/fetch/__init__.py')
-rw-r--r-- | lib/bb/fetch/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py index 1cd0faf82..0d0fa3596 100644 --- a/lib/bb/fetch/__init__.py +++ b/lib/bb/fetch/__init__.py @@ -341,11 +341,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) @@ -560,7 +560,7 @@ class Fetch(object): """ return False - def suppports_srcrev(self): + def supports_srcrev(self): """ The fetcher supports auto source revisions (SRCREV) """ |