<commit_before>from __future__ import unicode_literals
import webnotes

def execute():
	from webnotes.widgets.form.assign_to import add
	# clear old customer issue todos
	webnotes.conn.sql("""delete from tabToDo where reference_type='Customer Issue'""")
	webnotes.conn.sql("""delete from tabComment where comment like '%Form/Customer Issue%'""")
	for t in webnotes.conn.sql("""select * from `tabCustomer Issue` 
		where ifnull(allocated_to, '')!='' and ifnull(status, "")="Open" """, as_dict=1):
		print t
		add({
			'doctype': "Customer Issue",
			'name': t['name'],<commit_msg>fix to customer issue, desktop<commit_after>from __future__ import unicode_literals
import webnotes

def execute():
	from webnotes.widgets.form.assign_to import add
	# clear old customer issue todos
	webnotes.conn.sql("""delete from tabToDo where reference_type='Customer Issue'""")
	webnotes.conn.sql("""delete from tabComment where comment like '%Form/Customer Issue%'""")
	for t in webnotes.conn.sql("""select * from `tabCustomer Issue` 
		where ifnull(allocated_to, '')!='' and ifnull(status, "")="Open" """, as_dict=1):
		add({
			'doctype': "Customer Issue",
			'name': t['name'],
{'fraction_non_alphanumeric': 0.15021459227467812, 'fraction_numerical': 0.0017167381974248926, 'mean_word_length': 5.899408284023669, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5934863', 'n_tokens_mistral': 385, 'n_tokens_neox': 363, 'n_words': 105}