From ecbd5ca720ce28284280dc60013b3f60e9dd934f Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 20 Jun 2010 12:07:34 -0700 Subject: 3.0 prep Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch/__init__.py | 25 +++++++++++++------------ bitbake/lib/bb/fetch/perforce.py | 1 + 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'bitbake/lib/bb/fetch') diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index 651fea8873..31b9653793 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py @@ -24,6 +24,7 @@ BitBake build tools. # # Based on functions from the base bb module, Copyright 2003 Holger Schurig +from __future__ import absolute_import from __future__ import print_function import os, re import bb @@ -727,18 +728,18 @@ class Fetch(object): key = self._revision_key(url, ud, d) return "%s-%s" % (key, bb.data.getVar("PN", d, True) or "") -import cvs -import git -import local -import svn -import wget -import svk -import ssh -import perforce -import bzr -import hg -import osc -import repo +from . import cvs +from . import git +from . import local +from . import svn +from . import wget +from . import svk +from . import ssh +from . import perforce +from . import bzr +from . import hg +from . import osc +from . import repo methods.append(local.Local()) methods.append(wget.Wget()) diff --git a/bitbake/lib/bb/fetch/perforce.py b/bitbake/lib/bb/fetch/perforce.py index 5b6c601876..1c74cff349 100644 --- a/bitbake/lib/bb/fetch/perforce.py +++ b/bitbake/lib/bb/fetch/perforce.py @@ -25,6 +25,7 @@ BitBake build tools. # # Based on functions from the base bb module, Copyright 2003 Holger Schurig +from future_builtins import zip import os import bb from bb import data -- cgit v1.2.3