summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index fae1addf77..37f7d7544e 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -54,7 +54,7 @@ class MalformedUrl(BBFetchException):
54 msg = "The URL: '%s' is invalid and cannot be interpreted" % url 54 msg = "The URL: '%s' is invalid and cannot be interpreted" % url
55 self.url = url 55 self.url = url
56 BBFetchException.__init__(self, msg) 56 BBFetchException.__init__(self, msg)
57 self.args = url 57 self.args = (url,)
58 58
59class FetchError(BBFetchException): 59class FetchError(BBFetchException):
60 """General fetcher exception when something happens incorrectly""" 60 """General fetcher exception when something happens incorrectly"""
@@ -87,7 +87,7 @@ class NoMethodError(BBFetchException):
87 msg = "Could not find a fetcher which supports the URL: '%s'" % url 87 msg = "Could not find a fetcher which supports the URL: '%s'" % url
88 self.url = url 88 self.url = url
89 BBFetchException.__init__(self, msg) 89 BBFetchException.__init__(self, msg)
90 self.args = url 90 self.args = (url,)
91 91
92class MissingParameterError(BBFetchException): 92class MissingParameterError(BBFetchException):
93 """Exception raised when a fetch method is missing a critical parameter in the url""" 93 """Exception raised when a fetch method is missing a critical parameter in the url"""