diff --git a/SU2_PY/SU2/util/polarSweepLib.py b/SU2_PY/SU2/util/polarSweepLib.py index 72137e58185..73d2c3a241e 100755 --- a/SU2_PY/SU2/util/polarSweepLib.py +++ b/SU2_PY/SU2/util/polarSweepLib.py @@ -147,7 +147,6 @@ def readParameter(dataFile, nLines, keyWord, iDoNot, verbose): def setContribution(dataFile, nLines, keyWord, iDoNot, verbose): from numpy import size - import string # # default values @@ -176,7 +175,7 @@ def setContribution(dataFile, nLines, keyWord, iDoNot, verbose): # now find out where the standard text ends iBF = firstPart.lower().index("family") + 6 - nameText = string.join(firstPart[iBF:].split(), "") + nameText = "".join(firstPart[iBF:].split()) # component name located. Now check about its contribution try: