subrepo: fix python2.4 compatibility after
9aa6bee6e9f9
super(SubrepoAbort, self).__init__(*args, **kw) raises
TypeError: super() argument 1 must be type, not classobj
--- a/mercurial/subrepo.py Thu Jan 10 16:25:06 2013 +0000
+++ b/mercurial/subrepo.py Thu Jan 10 10:35:37 2013 -0800
@@ -17,7 +17,7 @@
class SubrepoAbort(error.Abort):
"""Exception class used to avoid handling a subrepo error more than once"""
def __init__(self, *args, **kw):
- super(SubrepoAbort, self).__init__(*args, **kw)
+ error.Abort.__init__(self, *args, **kw)
self.subrepo = kw.get('subrepo')
def annotatesubrepoerror(func):