convert: tuple parameter unpacking is deprecated in py3k
authorRenato Cunha <renatoc@gmail.com>
Thu, 01 Jul 2010 19:27:02 -0300
changeset 11498 8fa85378c527
parent 11497 f5a8d85df06a
child 11499 324cd681fa47
convert: tuple parameter unpacking is deprecated in py3k
hgext/convert/transport.py
--- 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,