X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=aspects%2F__init__.py;h=41cbe778fba7fbe1653708d3ae05d0bb3d6a82a6;hb=9aecb8c6fde06136bef94e2fd6fce832dc3c0c10;hp=aa7b05c57f2c1d276613bd700546ca19affaacaf;hpb=40785ed42aacff32beac8f18cb65e5534eb9d064;p=plcapi.git diff --git a/aspects/__init__.py b/aspects/__init__.py index aa7b05c..41cbe77 100644 --- a/aspects/__init__.py +++ b/aspects/__init__.py @@ -1,13 +1,8 @@ from pyaspects.weaver import weave_class_method from PLC.Method import Method -from aspects.omfaspects import OMFAspect from aspects.ratelimitaspects import RateLimitAspect -def apply_omf_aspect(): - # track all PLC methods to add OMF hooks - weave_class_method(OMFAspect(), Method, "__call__") - def apply_ratelimit_aspect(): weave_class_method(RateLimitAspect(), Method, "__call__")