Broken file_storage.py up into file_storage/{__init__,moving}.py

This commit is contained in:
2016-08-26 11:25:05 +02:00
parent 225f9ae054
commit c4a3601939
3 changed files with 83 additions and 69 deletions

View File

@@ -398,5 +398,5 @@ def file_change_backend(file_id, dest_backend='gcs'):
Files on the original backend are not deleted automatically.
"""
from pillar.api.file_storage import change_file_storage_backend
from pillar.api.file_storage.moving import change_file_storage_backend
change_file_storage_backend(file_id, dest_backend)