hgext/color.py
changeset 9374 ad73f6986ef5
parent 9311 e37e9904bf10
child 9412 3a78bbc57660
--- a/hgext/color.py	Fri Aug 21 09:33:27 2009 +0200
+++ b/hgext/color.py	Fri Aug 21 14:29:54 2009 +0200
@@ -59,7 +59,6 @@
 '''
 
 import os, sys
-import itertools
 
 from mercurial import cmdutil, commands, extensions, error
 from mercurial.i18n import _
@@ -146,7 +145,7 @@
     patchlines = ui.popbuffer().splitlines()
     patchnames = repo.mq.series
 
-    for patch, patchname in itertools.izip(patchlines, patchnames):
+    for patch, patchname in zip(patchlines, patchnames):
         if opts['missing']:
             effects = _patch_effects['missing']
         # Determine if patch is applied.