From 62a3872480fcfb5c0ff6fc79f7b40d24f81056cf Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 21 Feb 2012 16:46:57 +0530 Subject: [PATCH] fix in remove_archive --- erpnext/patches/jan_mar_2012/remove_archive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/patches/jan_mar_2012/remove_archive.py b/erpnext/patches/jan_mar_2012/remove_archive.py index 9f685b6f30..dbc61d7e91 100644 --- a/erpnext/patches/jan_mar_2012/remove_archive.py +++ b/erpnext/patches/jan_mar_2012/remove_archive.py @@ -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()