<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def fix_e722(self, result):
 """fix bare except"""

        (line_index, _, target) = get_index_offset_contents(result,
                                                            self.source)
        if BARE_EXCEPT_REGEX.search(target):
            self.source[line_index] = '{0}{1}'.format(
                target[:result['column'] - 1], "except Exception:")