# HG changeset patch # User Renato Cunha # Date 1278023223 10800 # Node ID 324cd681fa478999b2cdfa6d8c38d85f1b73d416 # Parent 8fa85378c527084fca89890585734b2ccf1d8baa record: tuple parameter unpacking is deprecated in py3k diff --git a/hgext/record.py b/hgext/record.py --- a/hgext/record.py +++ b/hgext/record.py @@ -186,7 +186,8 @@ self.hunk = [] self.stream = [] - def addrange(self, (fromstart, fromend, tostart, toend, proc)): + def addrange(self, limits): + fromstart, fromend, tostart, toend, proc = limits self.fromline = int(fromstart) self.toline = int(tostart) self.proc = proc