summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index 1365335330..adbbf30fda 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -121,7 +121,7 @@ class ParameterError(BBFetchException):
121class NetworkAccess(BBFetchException): 121class NetworkAccess(BBFetchException):
122 """Exception raised when network access is disabled but it is required.""" 122 """Exception raised when network access is disabled but it is required."""
123 def __init__(self, url, cmd): 123 def __init__(self, url, cmd):
124 msg = "Network access disabled through BB_NO_NETWORK but access requested with command %s (for url %s)" % (cmd, url) 124 msg = "Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command %s (for url %s)" % (cmd, url)
125 self.url = url 125 self.url = url
126 self.cmd = cmd 126 self.cmd = cmd
127 BBFetchException.__init__(self, msg) 127 BBFetchException.__init__(self, msg)