From 605e6d55bb312d779a4dd476a838f5016eefc5cb Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 25 Aug 2014 21:13:16 +0530 Subject: [PATCH] [hotfix] removed print --- frappe/model/naming.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/frappe/model/naming.py b/frappe/model/naming.py index f9ed6527df..4f1f827758 100644 --- a/frappe/model/naming.py +++ b/frappe/model/naming.py @@ -134,8 +134,6 @@ def revert_series_if_last(key, name): count = cint(name.replace(prefix, "")) current = frappe.db.sql("select `current` from `tabSeries` where name=%s for update", (prefix,)) - print prefix, count, current - if current and current[0][0]==count: frappe.db.sql("update tabSeries set current=current-1 where name=%s", prefix)