From 3371e39c838641eff84972da9990e669a29dbf2f Mon Sep 17 00:00:00 2001 From: Ondrej Samohel Date: Tue, 1 Jun 2021 14:22:23 +0200 Subject: [PATCH] use speedcopy --- openpype/plugins/publish/extract_review.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openpype/plugins/publish/extract_review.py b/openpype/plugins/publish/extract_review.py index a023ddaf1c..6aea4b1800 100644 --- a/openpype/plugins/publish/extract_review.py +++ b/openpype/plugins/publish/extract_review.py @@ -2,7 +2,6 @@ import os import re import copy import json -import shutil from abc import ABCMeta, abstractmethod import six @@ -18,7 +17,7 @@ from openpype.lib import ( get_decompress_dir, decompress ) -import tempfile +import speedcopy class ExtractReview(pyblish.api.InstancePlugin): @@ -700,7 +699,7 @@ class ExtractReview(pyblish.api.InstancePlugin): staging_dir, ("{}{:0" + str(col.padding) + "d}{}").format( col.head, frame, col.tail)) - shutil.copy2(file, hole) + speedcopy.copyfile(file, hole) files_to_clean.append(hole) return files_to_clean