[Bitbake-dev] [PATCH] Fix the comment and options for a local fetch.

Robert P. J. Day rpjday at crashcourse.ca
Thu Jan 14 17:06:22 CET 2010


Fix the comment, and remove the option for a "patch://" URN, since no
one seems to use it.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

diff --git a/lib/bb/fetch/local.py b/lib/bb/fetch/local.py
index 577774e..f9bdf58 100644
--- a/lib/bb/fetch/local.py
+++ b/lib/bb/fetch/local.py
@@ -33,9 +33,9 @@ from   bb.fetch import Fetch
 class Local(Fetch):
     def supports(self, url, urldata, d):
         """
-        Check to see if a given url can be fetched with cvs.
+        Check to see if a given url represents a local fetch.
         """
-        return urldata.type in ['file','patch']
+        return urldata.type in ['file']

     def localpath(self, url, urldata, d):
         """

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the bitbake-devel mailing list