new patches for unicode release

This commit is contained in:
Anand Doshi 2012-07-23 13:10:33 +05:30
parent 6a223fe77e
commit 9b8fca9d75
3 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,4 @@
from __future__ import unicode_literals
def execute():
import webnotes
from webnotes.model import delete_doc

View 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()

View File

@ -511,4 +511,9 @@ patch_list = [
'patch_file': 'deprecate_bulk_rename',
'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"
},
]