made it prettier

This commit is contained in:
Benjamyn Love 2017-09-25 08:43:37 +10:00
parent c83973b163
commit b5b24a67ce

View File

@ -137,7 +137,7 @@ def iterate(inArray, pre):
if checkIfIP(inArray[count].split('.')) == 0:
tmpVal = isCNAME(inArray[count])
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + " -> " + tmpVal[0] + bcolors.RESET
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
else:
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET
count = count + 1
@ -148,7 +148,7 @@ def iterateMX(inArray, pre):
while count != len(inArray) - 1:
tmp = inArray[count].split(' ')
tmpVal = isCNAME(tmp[1])
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + " -> " + tmpVal[0] + bcolors.RESET
print bcolors.CYAN + pre, bcolors.GREEN + inArray[count] + bcolors.RESET + " -> " + bcolors.GREEN + tmpVal[0] + bcolors.RESET
count = count + 1
def parseWhois(whioisInfo):