fixed conflict

This commit is contained in:
Nabin Hait
2012-12-13 18:39:08 +05:30
3 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
import webnotes
def execute():
for dt in webnotes.conn.sql("""select distinct parent from tabDocField
where fieldname='file_list'"""):
try:
webnotes.conn.sql("""update `tab%s` set file_list =
replace(file_list, "-", "")""" % dt[0])
except Exception, e:
if e.args[0]!=1146: raise e