summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/perforce.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch/perforce.py')
-rw-r--r--bitbake/lib/bb/fetch/perforce.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/perforce.py b/bitbake/lib/bb/fetch/perforce.py
index 6f68d85614..bdd23deef5 100644
--- a/bitbake/lib/bb/fetch/perforce.py
+++ b/bitbake/lib/bb/fetch/perforce.py
@@ -113,8 +113,7 @@ class Perforce(Fetch):
113 if which != -1: 113 if which != -1:
114 base = path[:which] 114 base = path[:which]
115 115
116 if base[0] == "/": 116 base = self._strip_leading_slashes(base)
117 base = base[1:]
118 117
119 cset = Perforce.getcset(d, path, host, user, pswd, parm) 118 cset = Perforce.getcset(d, path, host, user, pswd, parm)
120 119