diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-04-09 19:46:14 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-04-09 19:46:20 -0700 |
commit | ff2e28d0d9723ccd0e9dd635447b6d889cc9f597 (patch) | |
tree | 15d8533a7261c5b320fcf4c551c8dc337351c009 /lib/bb/fetch | |
parent | 78f56049ba863b2e585b89db12b32697eb879bbc (diff) | |
download | bitbake-ff2e28d0d9723ccd0e9dd635447b6d889cc9f597.tar.gz |
Apply the 2to3 print function transform
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/fetch')
-rw-r--r-- | lib/bb/fetch/__init__.py | 2 | ||||
-rw-r--r-- | lib/bb/fetch/git.py | 2 | ||||
-rw-r--r-- | lib/bb/fetch/ssh.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/fetch/__init__.py b/lib/bb/fetch/__init__.py index af2329559..830fd9c1a 100644 --- a/lib/bb/fetch/__init__.py +++ b/lib/bb/fetch/__init__.py @@ -412,7 +412,7 @@ def runfetchcmd(cmd, d, quiet = False): if not line: break if not quiet: - print line, + print(line, end=' ') output += line status = stdout_handle.close() or 0 diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py index 533268625..8c91de9db 100644 --- a/lib/bb/fetch/git.py +++ b/lib/bb/fetch/git.py @@ -197,7 +197,7 @@ class Git(Fetch): # Check if we have the rev already if not os.path.exists(ud.clonedir): - print "no repo" + print("no repo") self.go(None, ud, d) if not os.path.exists(ud.clonedir): bb.msg.error(bb.msg.domain.Fetcher, "GIT repository for %s doesn't exist in %s, cannot get sortable buildnumber, using old value" % (url, ud.clonedir)) diff --git a/lib/bb/fetch/ssh.py b/lib/bb/fetch/ssh.py index 68e6fdb1d..86c76f4e4 100644 --- a/lib/bb/fetch/ssh.py +++ b/lib/bb/fetch/ssh.py @@ -114,5 +114,5 @@ class SSH(Fetch): (exitstatus, output) = commands.getstatusoutput(cmd) if exitstatus != 0: - print output + print(output) raise FetchError('Unable to fetch %s' % url) |