From 10792f706f35fd98ae214a54cd6f964ffbecdfab Mon Sep 17 00:00:00 2001
From: Julien Muchembled <jm@nexedi.com>
Date: Thu, 12 May 2016 10:50:52 +0200
Subject: [PATCH] utils: remove unused monkeyPatch()

---
 product/ERP5Type/Utils.py | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/product/ERP5Type/Utils.py b/product/ERP5Type/Utils.py
index 5d74734f9e..6e6c9d81e3 100644
--- a/product/ERP5Type/Utils.py
+++ b/product/ERP5Type/Utils.py
@@ -1361,16 +1361,9 @@ def assertAttributePortalType(o, attribute_name, portal_type):
             error=err)
 
 #####################################################
-# Monkey Patch
+# Miscellaneous
 #####################################################
 
-from types import FunctionType
-def monkeyPatch(from_class,to_class):
-  for id, m in from_class.__dict__.items():
-      if type(m) is FunctionType:
-          setattr(to_class, id, m)
-
-
 def sleep(t=5):
   """
   Wait for a given time
-- 
2.30.9