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')
                                                     ^
```
This commit is contained in:
cclauss
2019-01-08 12:38:12 +01:00
committed by Yorik van Havre
parent e638705bc4
commit 59731e95a8

View File

@@ -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)