]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 19 Nov 2010 14:59:36 +0000 (15:59 +0100)
commit823a02185ed109054c6c1ae366221aaed0353f24
tree75ad908cdffc5e486ca615e393113df2904418d7
parentb8bb4433de7a981c6826173e926ca34705c4ac70
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.

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