# HG changeset patch # User Alexis S. L. Carvalho # Date 1154366537 10800 # Node ID 2f13f8d3fe8082b8bee20a3884d73e4597821550 # Parent ae5ce3454ef50d3d512e7cc208a6cc0d148a226c mq: correct the use of super The first argument passed to super is supposed to be the class where it's being used, not self.__class__ - the two can be different when there's inheritance involved. diff -r ae5ce3454ef5 -r 2f13f8d3fe80 hgext/mq.py --- a/hgext/mq.py Mon Jul 31 07:31:31 2006 -0700 +++ b/hgext/mq.py Mon Jul 31 14:22:17 2006 -0300 @@ -1393,7 +1393,7 @@ if self.tagscache: return self.tagscache - tagscache = super(self.__class__, self).tags() + tagscache = super(MqRepo, self).tags() q = self.mq if not q.applied: