From 84a521be512cc10ba13097ad251e9ce94e2df68c 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 (From Poky rev: f12e71484593039cd58b6e7fadd038b28b05d849) Signed-off-by: Yu Ke Signed-off-by: Richard Purdie --- lib/bb/fetch2/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/bb/fetch2/__init__.py') diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py index e7752ee33..d19f0e738 100644 --- a/lib/bb/fetch2/__init__.py +++ b/lib/bb/fetch2/__init__.py @@ -33,6 +33,8 @@ from bb import data from bb import persist_data from bb import utils +__version__ = "2" + logger = logging.getLogger("BitBake.Fetch") class MalformedUrl(Exception): -- cgit 1.2.3-korg