def __init__(self, app, context, old_key=None, new_key=None, old=u'', new=u''):
        super(SideDiffCommentEdit, self).__init__([])
        self.app = app
        self.context = context
        # If we save a comment, the resulting key will be stored here
        self.old_key = old_key
        self.new_key = new_key
        self.old = mywid.MyEdit(edit_text=old, multiline=True, ring=app.ring)
        self.new = mywid.MyEdit(edit_text=new, multiline=True, ring=app.ring)
        self.contents.append((urwid.Text(u''), ('given', LN_COL_WIDTH, False)))
        if context.old_file_key and (context.old_ln not in None or context.header):
            self.contents.append((urwid.AttrMap(self.old, 'draft-comment'), ('weight', 1, False)))
        else:
            self.contents.append((urwid.Text(u''), ('weight', 1, False)))
        self.contents.append((urwid.Text(u''), ('given', LN_COL_WIDTH, False)))
        if context.new_file_key and (context.new_ln is not None or context.header):
            self.contents.append((urwid.AttrMap(self.new, 'draft-comment'), ('weight', 1, False)))
            new_editable = True
        else:
            self.contents.append((urwid.Text(u''), ('weight', 1, False)))
            new_editable = False
        if new_editable:
            self.focus_position = 3
        else:
            self.focus_position = 1
dataset/ETHPy150Open openstack/gertty/gertty/view/side_diff.py/SideDiffCommentEdit.__init__/operator `is not` -> `not in`