From 3245a15cb78cea0fa0de445dc76e54c3eb539cd2 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 1 Oct 2012 11:35:49 +0530 Subject: [PATCH] added future imports --- accounts/doctype/journal_voucher/test_journal_voucher.py | 1 + accounts/page/voucher_import_tool/__init__.py | 1 + accounts/page/voucher_import_tool/voucher_import_tool.py | 1 + buying/page/purchase_analytics/__init__.py | 1 + patches/september_2012/add_stock_ledger_entry_index.py | 1 + patches/september_2012/deprecate_account_balance.py | 1 + patches/september_2012/event_permission.py | 1 + patches/september_2012/plot_patch.py | 1 + patches/september_2012/profile_delete_permission.py | 1 + patches/september_2012/rebuild_trees.py | 1 + selling/page/sales_analytics/__init__.py | 1 + stock/page/stock_ageing/__init__.py | 1 + stock/page/stock_analytics/__init__.py | 1 + 13 files changed, 13 insertions(+) diff --git a/accounts/doctype/journal_voucher/test_journal_voucher.py b/accounts/doctype/journal_voucher/test_journal_voucher.py index bb0568752d..3f32dfafeb 100644 --- a/accounts/doctype/journal_voucher/test_journal_voucher.py +++ b/accounts/doctype/journal_voucher/test_journal_voucher.py @@ -16,6 +16,7 @@ # Please edit this list and import only required elements +from __future__ import unicode_literals import unittest import webnotes import webnotes.model diff --git a/accounts/page/voucher_import_tool/__init__.py b/accounts/page/voucher_import_tool/__init__.py index e69de29bb2..baffc48825 100644 --- a/accounts/page/voucher_import_tool/__init__.py +++ b/accounts/page/voucher_import_tool/__init__.py @@ -0,0 +1 @@ +from __future__ import unicode_literals diff --git a/accounts/page/voucher_import_tool/voucher_import_tool.py b/accounts/page/voucher_import_tool/voucher_import_tool.py index 89ed1c08b2..b8dd717772 100644 --- a/accounts/page/voucher_import_tool/voucher_import_tool.py +++ b/accounts/page/voucher_import_tool/voucher_import_tool.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes from webnotes.utils import formatdate diff --git a/buying/page/purchase_analytics/__init__.py b/buying/page/purchase_analytics/__init__.py index e69de29bb2..baffc48825 100644 --- a/buying/page/purchase_analytics/__init__.py +++ b/buying/page/purchase_analytics/__init__.py @@ -0,0 +1 @@ +from __future__ import unicode_literals diff --git a/patches/september_2012/add_stock_ledger_entry_index.py b/patches/september_2012/add_stock_ledger_entry_index.py index 7153a7c330..add0e94777 100644 --- a/patches/september_2012/add_stock_ledger_entry_index.py +++ b/patches/september_2012/add_stock_ledger_entry_index.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes def execute(): diff --git a/patches/september_2012/deprecate_account_balance.py b/patches/september_2012/deprecate_account_balance.py index 0ca2c33519..662660229f 100644 --- a/patches/september_2012/deprecate_account_balance.py +++ b/patches/september_2012/deprecate_account_balance.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes from webnotes.model import delete_doc diff --git a/patches/september_2012/event_permission.py b/patches/september_2012/event_permission.py index 2f1a848950..1e2c5f5cc2 100644 --- a/patches/september_2012/event_permission.py +++ b/patches/september_2012/event_permission.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes from webnotes.model.code import get_obj from webnotes.model.doc import addchild diff --git a/patches/september_2012/plot_patch.py b/patches/september_2012/plot_patch.py index 822194dcfd..3165408949 100644 --- a/patches/september_2012/plot_patch.py +++ b/patches/september_2012/plot_patch.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes def execute(): set_master_name_in_accounts() diff --git a/patches/september_2012/profile_delete_permission.py b/patches/september_2012/profile_delete_permission.py index 40d569d337..2f7243168f 100644 --- a/patches/september_2012/profile_delete_permission.py +++ b/patches/september_2012/profile_delete_permission.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals import webnotes def execute(): webnotes.conn.sql("""update `tabDocPerm` set cancel=1 diff --git a/patches/september_2012/rebuild_trees.py b/patches/september_2012/rebuild_trees.py index 8340df76ad..5143f54a3d 100644 --- a/patches/september_2012/rebuild_trees.py +++ b/patches/september_2012/rebuild_trees.py @@ -1,3 +1,4 @@ +from __future__ import unicode_literals def execute(): from webnotes.utils.nestedset import rebuild_tree diff --git a/selling/page/sales_analytics/__init__.py b/selling/page/sales_analytics/__init__.py index e69de29bb2..baffc48825 100644 --- a/selling/page/sales_analytics/__init__.py +++ b/selling/page/sales_analytics/__init__.py @@ -0,0 +1 @@ +from __future__ import unicode_literals diff --git a/stock/page/stock_ageing/__init__.py b/stock/page/stock_ageing/__init__.py index e69de29bb2..baffc48825 100644 --- a/stock/page/stock_ageing/__init__.py +++ b/stock/page/stock_ageing/__init__.py @@ -0,0 +1 @@ +from __future__ import unicode_literals diff --git a/stock/page/stock_analytics/__init__.py b/stock/page/stock_analytics/__init__.py index e69de29bb2..baffc48825 100644 --- a/stock/page/stock_analytics/__init__.py +++ b/stock/page/stock_analytics/__init__.py @@ -0,0 +1 @@ +from __future__ import unicode_literals