diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 33a8086f27..b194a79be9 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -237,7 +237,7 @@ class URI(object): | |||
| 237 | # to RFC compliant URL format. E.g.: | 237 | # to RFC compliant URL format. E.g.: |
| 238 | # file://foo.diff -> file:foo.diff | 238 | # file://foo.diff -> file:foo.diff |
| 239 | if urlp.scheme in self._netloc_forbidden: | 239 | if urlp.scheme in self._netloc_forbidden: |
| 240 | uri = re.sub("(?<=:)//(?!/)", "", uri, 1) | 240 | uri = re.sub(r"(?<=:)//(?!/)", "", uri, count=1) |
| 241 | reparse = 1 | 241 | reparse = 1 |
| 242 | 242 | ||
| 243 | if reparse: | 243 | if reparse: |
