Skip to content

Commit

Permalink
Undefined name: to --> 'to'
Browse files Browse the repository at this point in the history
```
./src/Tools/fcbt/FileTools.py:47:50: F821 undefined name 'to'
                print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                 ^
./src/Tools/fcbt/FileTools.py:86:54: F821 undefined name 'to'
                    print('Error copying', pathFrom, to, pathTo, '--skipped')
                                                     ^
```
  • Loading branch information
cclauss authored and wwmayer committed Jan 3, 2019
1 parent 7ba92f9 commit 7afb54f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tools/fcbt/FileTools.py
Expand Up @@ -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_type, sys.exc_value)
else:
if verbose: print('copying dir', pathFrom, 'to', pathTo)
Expand Down Expand Up @@ -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_type, sys.exc_value)
else:
if verbose: print('copying dir', pathFrom, 'to', pathTo)
Expand Down

0 comments on commit 7afb54f

Please sign in to comment.