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 <ke.yu@intel.com>
This commit is contained in:
Yu Ke 2011-01-18 22:41:23 +08:00 committed by Richard Purdie
parent 84ff79413a
commit f12e714845
2 changed files with 4 additions and 0 deletions

View File

@ -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):

View File

@ -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):