fixed iterate function
This commit is contained in:
parent
aab19796b7
commit
b274aa52ad
4
HTTPy.py
4
HTTPy.py
@ -14,7 +14,7 @@ partDomain = ""
|
||||
|
||||
def iterate(inArray):
|
||||
count = 0
|
||||
while count != len(inArray):
|
||||
while count != len(inArray) - 1:
|
||||
print count, inArray[count]
|
||||
count = count + 1
|
||||
|
||||
@ -30,7 +30,7 @@ def dig(inDomain, record):
|
||||
print "========================================================" #ADD REST OF DIGS
|
||||
test = dig.split("\n")
|
||||
print record, test[0]
|
||||
print len(test) #fix up mutiple record types...
|
||||
iterate(test) #fix up mutiple record types...
|
||||
|
||||
def ipLookup(inDomain):
|
||||
host = "N/A"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user