Commit 10792f70 authored by Julien Muchembled's avatar Julien Muchembled

utils: remove unused monkeyPatch()

parent 5964b0f5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment