error: restore python 2.4 compatibility for BundleValueError
Under python 2.4, this:
super(BundleValueError, self).__init__(msg)
raises this:
TypeError: super() argument 1 must be type, not classobj
--- a/mercurial/error.py Thu Jun 12 14:40:45 2014 -0500
+++ b/mercurial/error.py Tue Jun 10 17:00:31 2014 -0700
@@ -111,7 +111,7 @@
msg = parttype
if self.params:
msg = '%s - %s' % (msg, ', '.join(self.params))
- super(BundleValueError, self).__init__(msg)
+ ValueError.__init__(self, msg)
class ReadOnlyPartError(RuntimeError):
"""error raised when code tries to alter a part being generated"""