]> code.ossystems Code Review - openembedded-core.git/commit
fetch: add common helper _strip_leading_slashes()
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 17 Nov 2010 13:44:40 +0000 (14:44 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:41 +0000 (14:46 +0000)
commit87b6f7d27ace9d6465414c28bbba003f368a49dd
tree8c53d7327b7dc8eec439cae5c69de5b36ba42ed3
parentd0d67a9fe279d26423494946666a5ca0acc5d66f
fetch: add common helper _strip_leading_slashes()

Several fetcher need a way to strip leading slashes off a local path.
This helper-function consolidates all such occurances.

(Bitbake rev: 823a02185ed109054c6c1ae366221aaed0353f24)

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/fetch/__init__.py
bitbake/lib/bb/fetch/bzr.py
bitbake/lib/bb/fetch/hg.py
bitbake/lib/bb/fetch/osc.py
bitbake/lib/bb/fetch/perforce.py
bitbake/lib/bb/fetch/svn.py