X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=aspects%2F__init__.py;h=41cbe778fba7fbe1653708d3ae05d0bb3d6a82a6;hb=1e4558f1e8eaec5f69f3832a8599d0dfa1531f00;hp=cdab6d60086e9ea83a2e8274e353cdd36d9ee169;hpb=641a829a3412936f80849d2bb43af54c4480d197;p=plcapi.git diff --git a/aspects/__init__.py b/aspects/__init__.py index cdab6d60..41cbe778 100644 --- a/aspects/__init__.py +++ b/aspects/__init__.py @@ -1,12 +1,9 @@ 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__") def apply_debugger_aspect():