def _append_comment(ret, comment):
 if len(ret['comment']):
  ret['comment'] = ((ret['comment'].rstrip() + '\n') + comment)
 else:
  ret['comment'] = comment
 return ret

def _append_comment ( ret , comment ) : if len ( ret [ 'comment' ] ) : ret [ 'comment' ] = ( ( ret [ 'comment' ] . rstrip ( ) + '\n' ) + comment ) else : ret [ 'comment' ] = comment return ret
append comment to ret[comment] .