diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 52fffe21d7..0fcdb19df1 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -163,7 +163,7 @@ class Git(FetchMethod): | |||
| 163 | bb.warn("URL: %s uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url." % ud.url) | 163 | bb.warn("URL: %s uses git protocol which is no longer supported by github. Please change to ;protocol=https in the url." % ud.url) |
| 164 | 164 | ||
| 165 | if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'): | 165 | if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'): |
| 166 | raise bb.fetch2.ParameterError("Invalid protocol type", ud.url) | 166 | raise bb.fetch2.ParameterError(f"Invalid protocol type: '{ud.proto}'", ud.url) |
| 167 | 167 | ||
| 168 | ud.nocheckout = ud.parm.get("nocheckout","0") == "1" | 168 | ud.nocheckout = ud.parm.get("nocheckout","0") == "1" |
| 169 | 169 | ||
