fix in remove_archive
This commit is contained in:
parent
b8fa4a37e5
commit
c70e8d9791
@ -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:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user