h~ ndZddlmZddlmZddlmZddlmZddl m Z ddl m Z Gdd e Z d S) u  This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program.  If not, see . Copyright © 2019 Cloud Linux Software Inc. This software is also available under ImunifyAV commercial license, see )gather)g)QueueSupervisorSync)AiBolitDetachedScan) BaseCleaner)antivirus_modec`eZdZdZejregZnddlm Z m Z m Z ee e e gZe ddZ dS)UncompletedScansCleanerzE Cleaner for uncompleted (including aborted) detached scans. r)MDSDetachedCleanupMDSDetachedRestoreMDSDetachedScanreturnNcKd|jD}t|d{VttjdS)NcLg|]!}|tj"S)check_detached_operation_dirrsink).0ops d/opt/imunify360/venv/lib/python3.11/site-packages/imav/malwarelib/scan/cleaners/uncompleted_scans.py z3UncompletedScansCleaner.cleanup..As8     + +AF 3 3   )r)_DETACHED_OPERATIONSrrrrrecheck)clscoross rcleanupzUncompletedScansCleaner.cleanup:sl  .   en (((0022222r)rN)__name__ __module__ __qualname____doc__renabledrr!imav.malwarelib.scan.mds.detachedr r r classmethodrrrrr r #s                 333[333rr N)r!asyncior&defence360agent.internals.global_scoper*imav.malwarelib.scan.queue_supervisor_syncr&imav.malwarelib.scan.ai_bolit.detachedrdefence360agent.mr_properrdefence360agent.utilsrr rrrr+s*444444211111000000'3'3'3'3'3k'3'3'3'3'3r