Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
#
self._cti_files = []
self._producers = []
self._systems = []
self._interfaces = []
self._device_info_list = []
self._ias = []
#
self._has_revised_device_list = False
self._timeout_for_update = 1000 # ms
#
if profile:
from harvesters._private.core.helper.profiler import Profiler
self._profiler = Profiler()
else:
self._profiler = None
if self._profiler:
self._profiler.print_diff()
#
self._finalizer = weakref.finalize(self, self._reset)
#
self._cti_files = []
self._producers = []
self._systems = []
self._interfaces = []
self._device_info_list = []
#
self._has_revised_device_list = False
self._timeout_for_update = 1000 # ms
#
if profile:
from harvesters._private.core.helper.profiler import Profiler
self._profiler = Profiler()
else:
self._profiler = None
if self._profiler:
self._profiler.print_diff()