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

This commit is contained in:
Rushabh Mehta 2012-02-21 12:17:20 +01:00
commit 307da4f91b

View File

@ -15,7 +15,7 @@ def execute():
res = webnotes.conn.sql("SELECT name FROM `%s`" % tab)
for dn in res:
archive.archive_doc(dt, dn[0], restore=1)
count++
count += 1
if not count%100:
webnotes.conn.commit()
webnotes.conn.begin()