<commit_before>from   __future__ import unicode_literals
import os
import re
import signal
import six
from   six.moves  import shlex_quote as quote

class MailCmdError(Exception):
    # Raised if the sendmail command returned nonzero
    def __init__(self, mail_cmd, rc, output):
        self.mail_cmd = mail_cmd
        self.rc = rc
        self.output = output
        ### TODO: Invoke `super().__init__`

def mail_quote(s):
    s = '> ' + re.sub(r'(\r(\n|(?!\n))|\n)(?=.)', '\n> ', s, flags=re.S)
    if not s.endswith("\n"):
        s += "\n"
    return s
<commit_msg>Call `super(MailCmdError, self).__init__()`<commit_after>from   __future__ import unicode_literals
import os
import re
import signal
import six
from   six.moves  import shlex_quote as quote

class MailCmdError(Exception):
    # Raised if the sendmail command returned nonzero
    def __init__(self, mail_cmd, rc, output):
        self.mail_cmd = mail_cmd
        self.rc = rc
        self.output = output
        super(MailCmdError, self).__init__(
            '{0!r}: command exited with return code {1}'.format(mail_cmd, rc)
        )

def mail_quote(s):
    s = '> ' + re.sub(r'(\r(\n|(?!\n))|\n)(?=.)', '\n> ', s, flags=re.S)
    if not s.endswith("\n"):
        s += "\n"
    return s

{'fraction_non_alphanumeric': 0.1434231378763867, 'fraction_numerical': 0.001584786053882726, 'mean_word_length': 2.827272727272727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1724532', 'n_tokens_mistral': 442, 'n_tokens_neox': 430, 'n_words': 119}