new patches for unicode release
This commit is contained in:
parent
6a223fe77e
commit
9b8fca9d75
@ -1,3 +1,4 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
def execute():
|
def execute():
|
||||||
import webnotes
|
import webnotes
|
||||||
from webnotes.model import delete_doc
|
from webnotes.model import delete_doc
|
||||||
|
6
erpnext/patches/july_2012/unicode_conf.py
Normal file
6
erpnext/patches/july_2012/unicode_conf.py
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
def execute():
|
||||||
|
"""appends from __future__ import unicode_literals to py files if necessary"""
|
||||||
|
import wnf
|
||||||
|
wnf.append_future_import()
|
@ -511,4 +511,9 @@ patch_list = [
|
|||||||
'patch_file': 'deprecate_bulk_rename',
|
'patch_file': 'deprecate_bulk_rename',
|
||||||
'description': "Remove Bulk Rename Tool"
|
'description': "Remove Bulk Rename Tool"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'patch_module': 'patches.july_2012',
|
||||||
|
'patch_file': 'unicode_conf',
|
||||||
|
'description': "appends from __future__ import unicode_literals to py files if necessary"
|
||||||
|
},
|
||||||
]
|
]
|
Loading…
Reference in New Issue
Block a user