From 59731e95a8ef6f2aaa017a4378335709349d0111 Mon Sep 17 00:00:00 2001 From: cclauss Date: Tue, 8 Jan 2019 12:38:12 +0100 Subject: [PATCH] Undefined name: to --> 'to' (again) Just like #1884 but on a different file. ``` ./src/Tools/FCFileTools.py:47:50: F821 undefined name 'to' print('Error copying', pathFrom, to, pathTo, '--skipped') ^ ./src/Tools/FCFileTools.py:86:54: F821 undefined name 'to' print('Error copying', pathFrom, to, pathTo, '--skipped') ^ ``` --- src/Tools/FCFileTools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tools/FCFileTools.py b/src/Tools/FCFileTools.py index 961efdc084..15ed557f3a 100644 --- a/src/Tools/FCFileTools.py +++ b/src/Tools/FCFileTools.py @@ -44,7 +44,7 @@ def cpall(dirFrom, dirTo): cpfile(pathFrom, pathTo) fcount = fcount+1 except: - print('Error copying', pathFrom, to, pathTo, '--skipped') + print('Error copying', pathFrom, 'to', pathTo, '--skipped') print(sys.exc_info()[0], sys.exc_info()[1]) else: if verbose: print('copying dir', pathFrom, 'to', pathTo) @@ -83,7 +83,7 @@ def cpallWithFilter(dirFrom, dirTo,MatchList): cpfile(pathFrom, pathTo) fcount = fcount+1 except: - print('Error copying', pathFrom, to, pathTo, '--skipped') + print('Error copying', pathFrom, 'to', pathTo, '--skipped') print(sys.exc_info()[0], sys.exc_info()[1]) else: if verbose: print('copying dir', pathFrom, 'to', pathTo)