From ef1de9ecaf73e28234d284b79ec45e084d0f0c53 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sun, 20 Jun 2010 12:08:07 -0700 Subject: Apply some 2to3 refactorings Signed-off-by: Richard Purdie --- bitbake/lib/bb/fetch/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/fetch') diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py index e87223ad6b..651fea8873 100644 --- a/bitbake/lib/bb/fetch/__init__.py +++ b/bitbake/lib/bb/fetch/__init__.py @@ -409,7 +409,7 @@ def runfetchcmd(cmd, d, quiet = False): stdout_handle = os.popen(cmd + " 2>&1", "r") output = "" - while 1: + while True: line = stdout_handle.readline() if not line: break -- cgit v1.2.3-54-g00ecf