commit | 62a3872480fcfb5c0ff6fc79f7b40d24f81056cf | [log] [tgz] |
---|---|---|
author | Anand Doshi <anand@iwebnotes.com> | Tue Feb 21 16:46:57 2012 +0530 |
committer | Anand Doshi <anand@iwebnotes.com> | Tue Feb 21 16:46:57 2012 +0530 |
tree | ed68021e1a6670a49d9b110a5b4de4ce7afe7ae7 | |
parent | 5ff541b53c36f95f09744f38365b5bd3f5aa0525 [diff] |
fix in remove_archive
diff --git a/erpnext/patches/jan_mar_2012/remove_archive.py b/erpnext/patches/jan_mar_2012/remove_archive.py index 9f685b6..dbc61d7 100644 --- a/erpnext/patches/jan_mar_2012/remove_archive.py +++ b/erpnext/patches/jan_mar_2012/remove_archive.py
@@ -15,7 +15,7 @@ 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()