diff mbox series

[1/2] fetch2: get rid of unused FetchMethod.urls property

Message ID 20260817195057.2485364-1-chris.laplante@agilent.com
State New
Headers show
Series [1/2] fetch2: get rid of unused FetchMethod.urls property | expand

Commit Message

chris.laplante@agilent.com Aug. 17, 2026, 7:50 p.m. UTC
From: Chris Laplante <chris.laplante@agilent.com>

It was never set by __init__ anyway.

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
---
 lib/bb/fetch2/__init__.py | 11 -----------
 1 file changed, 11 deletions(-)
diff mbox series

Patch

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index b6006fa38..4a3119ad0 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -1438,9 +1438,6 @@  class FetchData(object):
 class FetchMethod(object):
     """Base class for 'fetch'ing data"""
 
-    def __init__(self, urls=None):
-        self.urls = []
-
     def supports(self, urldata, d):
         """
         Check to see if this fetch class supports a given url.
@@ -1501,14 +1498,6 @@  class FetchMethod(object):
             relpath = relpath[1:]
         return relpath
 
-    def setUrls(self, urls):
-        self.__urls = urls
-
-    def getUrls(self):
-        return self.__urls
-
-    urls = property(getUrls, setUrls, None, "Urls property")
-
     def need_update(self, ud, d):
         """
         Force a fetch, even if localpath exists?