Merge branch 'latest' of github.com:webnotes/erpnext into latest

This commit is contained in:
Rushabh Mehta 2012-02-21 13:15:02 +01:00
commit 393d325e00

View File

@ -8,7 +8,7 @@ def execute():
from webnotes.utils import archive from webnotes.utils import archive
arc_tables = webnotes.conn.sql('show tables like "arc%"') arc_tables = webnotes.conn.sql('show tables like "arc%"')
try: try:
webnotes.conn.auto_commit_on_excess = 1 webnotes.conn.auto_commit_on_many_writes = 1
for tab in arc_tables: for tab in arc_tables:
tab = tab[0] tab = tab[0]
dt = tab[3:] dt = tab[3:]