Skip to content

Commit 9954000

Browse files
authored
fix dist.py imports
1 parent 7af8021 commit 9954000

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

utils/dist.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,21 @@
4242
from lib.cuckoo.common.path_utils import path_delete, path_exists, path_get_size, path_mkdir, path_mount_point, path_write_file
4343
from lib.cuckoo.common.socket_utils import send_socket_command
4444
from lib.cuckoo.common.utils import get_options
45-
from lib.cuckoo.core.database import (
45+
from lib.cuckoo.core.data.task import (
4646
TASK_BANNED,
4747
TASK_DISTRIBUTED,
4848
TASK_DISTRIBUTED_COMPLETED,
4949
TASK_FAILED_REPORTING,
5050
TASK_PENDING,
5151
TASK_REPORTED,
52-
TASK_RUNNING,
52+
TASK_RUNNING
53+
)
54+
from lib.cuckoo.core.database import (
5355
Database,
5456
_Database,
5557
init_database,
5658
)
57-
from lib.cuckoo.core.database import Task as MD_Task
59+
from lib.cuckoo.core.data.task import Task as MD_Task
5860
from dev_utils.mongodb import mongo_update_one
5961

6062
dist_conf = Config("distributed")

0 commit comments

Comments
 (0)