Removed Unused Variables (#949)

- Removed two unused variables.
- Changed `a` to `_` since the `a` variable is never used.

This addresses [3 alerts from lgtm](d55bbcd204/files/sorts/Odd-Even_transposition_parallel.py).
This commit is contained in:
PatOnTheBack 2019-07-05 04:34:46 -04:00 committed by Anup Kumar Panwar
parent 408c5deb3a
commit 217615abf6

View File

@ -70,13 +70,11 @@ arr = the list to be sorted
def OddEvenTransposition(arr):
processArray = []
tempRrcv = None
tempLrcv = None
resultPipe = []
#initialize the list of pipes where the values will be retrieved
for a in arr:
for _ in arr:
resultPipe.append(Pipe())
#creates the processes