X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FAPI.py;h=cfee0f842999eb9a3809f456694268e788e95cdc;hb=da06561d0f5240a5409474e16824e4e015f31fac;hp=b213c38091615f8971b8183a951f28023d76a8c6;hpb=1f446bdabf02495a849c8c8d2d5ef6d2eea491af;p=plcapi.git diff --git a/PLC/API.py b/PLC/API.py index b213c38..cfee0f8 100644 --- a/PLC/API.py +++ b/PLC/API.py @@ -164,18 +164,6 @@ class PLCAPI: raise PLCAPIError("Unsupported database type " + self.config.PLC_DB_TYPE) - # Aspects modify the API by injecting code before, after or - # around method calls. - # http://github.com/baris/pyaspects/blob/master/README - # - if self.config.PLC_RATELIMIT_ENABLED: - from aspects import apply_ratelimit_aspect - apply_ratelimit_aspect() - - if getattr(self.config, "PLC_NETCONFIG_ENABLED", False): - from aspects.netconfigaspects import apply_netconfig_aspect - apply_netconfig_aspect() - # Enable Caching. Only for GetSlivers for the moment. # TODO: we may consider to do this in an aspect like the ones above. try: