fetch2: Rename "setup_revisons" to "setup_revisions"
PATCH 1/1 fetch2: Rename "setup_revisons" to "setup_revisions"
For spelling's sake, rename Python routine "setup_revisons" to "setup_revisions."
Signed-off-by Robert P. J. Day <[email protected]>
---
since this actually modifies code, i'm fine if someone decides it's
not worth the churn. i believe i got all of them.
lib/bb/fetch2/__init__.py +1 -1
@@ -1247,7 +1247,7 @@ class FetchData(object): self.donestamp = basepath + '.done' self.lockfile = basepath + '.lock' - def setup_revisons(self, d): + def setup_revisions(self, d): self.revisions = {} for name in self.names: self.revisions[name] = srcrev_internal_helper(self, d, name)
lib/bb/fetch2/bzr.py +1 -1
@@ -45,7 +45,7 @@ class Bzr(FetchMethod): relpath = self._strip_leading_slashes(ud.path) ud.pkgdir = os.path.join(data.expand('${BZRDIR}', d), ud.host, relpath) - ud.setup_revisons(d) + ud.setup_revisions(d) if not ud.revision: ud.revision = self.latest_revision(ud, d)
lib/bb/fetch2/git.py +1 -1
@@ -186,7 +186,7 @@ class Git(FetchMethod): ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0") or ud.rebaseable - ud.setup_revisons(d) + ud.setup_revisions(d) for name in ud.names: # Ensure anything that doesn't look like a sha256 checksum/revision is translated into one
lib/bb/fetch2/hg.py +1 -1
@@ -67,7 +67,7 @@ class Hg(FetchMethod): else: ud.proto = "hg" - ud.setup_revisons(d) + ud.setup_revisions(d) if 'rev' in ud.parm: ud.revision = ud.parm['rev']
lib/bb/fetch2/perforce.py +1 -1
@@ -87,7 +87,7 @@ class Perforce(FetchMethod): cleanedhost = ud.host.replace(':', '.') ud.pkgdir = os.path.join(ud.dldir, cleanedhost, cleanedpath) - ud.setup_revisons(d) + ud.setup_revisions(d) ud.localfile = data.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision), d)
lib/bb/fetch2/svn.py +1 -1
@@ -64,7 +64,7 @@ class Svn(FetchMethod): ud.pkgdir = os.path.join(data.expand('${SVNDIR}', d), ud.host, relpath) ud.moddir = os.path.join(ud.pkgdir, ud.module) - ud.setup_revisons(d) + ud.setup_revisions(d) if 'rev' in ud.parm: ud.revision = ud.parm['rev']
Signature · 7 lines
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================