changeset 11498:8fa85378c527

convert: tuple parameter unpacking is deprecated in py3k
author Renato Cunha <renatoc@gmail.com>
date Thu, 01 Jul 2010 19:27:02 -0300
parents f5a8d85df06a
children 324cd681fa47
files hgext/convert/transport.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/transport.py	Thu Jul 01 19:27:02 2010 -0300
+++ b/hgext/convert/transport.py	Thu Jul 01 19:27:02 2010 -0300
@@ -98,9 +98,8 @@
             svn.ra.reparent(self.ra, self.svn_url.encode('utf8'))
 
     class Reporter(object):
-        def __init__(self, (reporter, report_baton)):
-            self._reporter = reporter
-            self._baton = report_baton
+        def __init__(self, reporter_data):
+            self._reporter, self._baton = reporter_data
 
         def set_path(self, path, revnum, start_empty, lock_token, pool=None):
             svn.ra.reporter2_invoke_set_path(self._reporter, self._baton,