From fc67baf5a5d4bd2979d2d0c8226033db3353e9d4 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 4 Feb 2008 20:13:58 -0500 Subject: [PATCH] range() is deprecated. --- plugins/video/transcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/video/transcode.py b/plugins/video/transcode.py index ec8d380..d2dcd03 100644 --- a/plugins/video/transcode.py +++ b/plugins/video/transcode.py @@ -275,7 +275,7 @@ def video_info(inFile): ffmpeg = subprocess.Popen(cmd, stderr=subprocess.PIPE, stdout=subprocess.PIPE, stdin=subprocess.PIPE) # wait 4 sec if ffmpeg is not back give up - for i in range(80): + for i in xrange(80): time.sleep(.05) if not ffmpeg.poll() == None: break -- 2.11.4.GIT