diff options
Diffstat (limited to 'contrib/fix_private-bin.py')
-rwxr-xr-x | contrib/fix_private-bin.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/fix_private-bin.py b/contrib/fix_private-bin.py index 65bfba52d..c6c6f908d 100755 --- a/contrib/fix_private-bin.py +++ b/contrib/fix_private-bin.py | |||
@@ -61,7 +61,6 @@ def fixSymlinkedBins(files, replMap): | |||
61 | if shouldUpdate: | 61 | if shouldUpdate: |
62 | with open(filename, "w") as file: | 62 | with open(filename, "w") as file: |
63 | file.writelines(lines) | 63 | file.writelines(lines) |
64 | pass | ||
65 | 64 | ||
66 | 65 | ||
67 | def createSetOfBinaries(files): | 66 | def createSetOfBinaries(files): |
@@ -70,7 +69,6 @@ def createSetOfBinaries(files): | |||
70 | """ | 69 | """ |
71 | s = set() | 70 | s = set() |
72 | for filename in files: | 71 | for filename in files: |
73 | lines = None | ||
74 | with open(filename, "r") as file: | 72 | with open(filename, "r") as file: |
75 | for line in file: | 73 | for line in file: |
76 | if privRx.search(line): | 74 | if privRx.search(line): |