Removed unused imports
This commit is contained in:
@@ -8,7 +8,6 @@ import werkzeug.exceptions as wz_exceptions
|
|||||||
from bson import ObjectId
|
from bson import ObjectId
|
||||||
from flask import current_app, Blueprint, request
|
from flask import current_app, Blueprint, request
|
||||||
|
|
||||||
import pillar.markdown
|
|
||||||
from pillar.api.activities import activity_subscribe, activity_object_add
|
from pillar.api.activities import activity_subscribe, activity_object_add
|
||||||
from pillar.api.node_types import PILLAR_NAMED_NODE_TYPES
|
from pillar.api.node_types import PILLAR_NAMED_NODE_TYPES
|
||||||
from pillar.api.file_storage_backends.gcs import update_file_name
|
from pillar.api.file_storage_backends.gcs import update_file_name
|
||||||
|
@@ -726,8 +726,6 @@ def _find_orphan_files() -> typing.Set[bson.ObjectId]:
|
|||||||
|
|
||||||
Returns an iterable of all orphan file IDs.
|
Returns an iterable of all orphan file IDs.
|
||||||
"""
|
"""
|
||||||
from pillar.api.utils import str2id
|
|
||||||
|
|
||||||
log.debug('Finding orphan files')
|
log.debug('Finding orphan files')
|
||||||
|
|
||||||
# Get all file IDs that belong to this project.
|
# Get all file IDs that belong to this project.
|
||||||
|
Reference in New Issue
Block a user