From f12e71484593039cd58b6e7fadd038b28b05d849 Mon Sep 17 00:00:00 2001 From: Yu Ke Date: Tue, 18 Jan 2011 22:41:23 +0800 Subject: bb.fetch: add fetch version to distinguish bb.fetch and bb.fetch2 there is case that we need to distingush bb.fetch and bb.fetch2, and use different API for bb.fetch and bb.fetch2. so it is necessary to add version info for distinguish purpose Signed-off-by: Yu Ke --- bitbake/lib/bb/fetch/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/fetch') diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index cd9410d04c..b452751c7b 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py @@ -33,6 +33,8 @@ from bb import data from bb import persist_data from bb import utils +__version__ = "1" + logger = logging.getLogger("BitBake.Fetch") class MalformedUrl(Exception): -- cgit v1.2.3-54-g00ecf