From 8985d7a9d66194600d45981b73163148e39aac7f Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Tue, 5 Sep 2023 09:56:06 +0200 Subject: [PATCH] Rename func --- src/fontra/backends/copy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fontra/backends/copy.py b/src/fontra/backends/copy.py index 8ceb44131..95c06076a 100644 --- a/src/fontra/backends/copy.py +++ b/src/fontra/backends/copy.py @@ -9,7 +9,7 @@ logger = logging.getLogger(__name__) -async def copy(sourceBackend, destBackend, *, numTasks=8): +async def copyFont(sourceBackend, destBackend, *, numTasks=8): await destBackend.putGlobalAxes(await sourceBackend.getGlobalAxes()) glyphMap = await sourceBackend.getGlyphMap() glyphNamesToCopy = sorted(glyphMap) @@ -63,7 +63,7 @@ async def mainAsync(): sourceBackend = getFileSystemBackend(sourcePath) destBackend = newFileSystemBackend(destPath) - await copy(sourceBackend, destBackend) + await copyFont(sourceBackend, destBackend) def main():