# HG changeset patch # User Pierre-Yves David # Date 1431986164 18000 # Node ID b58dde1bb32f3b8b9ba76b42cce1a6ae7e7cb551 # Parent 277a535c0b3a48813e55a485a13545f91b2ea3b7 MBTextWrapper: drop dedicated __init__ method It was only there as a compatibility layer with a version of Python which we do support anymore. diff -r 277a535c0b3a -r b58dde1bb32f mercurial/util.py --- a/mercurial/util.py Mon May 18 16:54:21 2015 -0500 +++ b/mercurial/util.py Mon May 18 16:56:04 2015 -0500 @@ -1554,13 +1554,6 @@ This requires use decision to determine width of such characters. """ - def __init__(self, **kwargs): - textwrap.TextWrapper.__init__(self, **kwargs) - - # for compatibility between 2.4 and 2.6 - if getattr(self, 'drop_whitespace', None) is None: - self.drop_whitespace = kwargs.get('drop_whitespace', True) - def _cutdown(self, ucstr, space_left): l = 0 colwidth = encoding.ucolwidth