<s> from __future__ import unicode_literals <EOL> import frappe <EOL> from frappe . model . document import Document <EOL> class DefaultValue ( Document ) : <EOL> pass <EOL> def on_doctype_update ( ) : <EOL> """<STR_LIT>""" <EOL> if not frappe . db . sql ( """<STR_LIT>""" ) : <EOL> frappe . db . commit ( ) <EOL> frappe . db . sql ( """<STR_LIT>""" ) <EOL> if not frappe . db . sql ( """<STR_LIT>""" ) : <EOL> frappe . db . commit ( ) <EOL> frappe . db . sql ( """<STR_LIT>""" ) </s>
