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):
|
def iterate(inArray):
|
||||||
count = 0
|
count = 0
|
||||||
while count != len(inArray):
|
while count != len(inArray) - 1:
|
||||||
print count, inArray[count]
|
print count, inArray[count]
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
@ -30,7 +30,7 @@ def dig(inDomain, record):
|
|||||||
print "========================================================" #ADD REST OF DIGS
|
print "========================================================" #ADD REST OF DIGS
|
||||||
test = dig.split("\n")
|
test = dig.split("\n")
|
||||||
print record, test[0]
|
print record, test[0]
|
||||||
print len(test) #fix up mutiple record types...
|
iterate(test) #fix up mutiple record types...
|
||||||
|
|
||||||
def ipLookup(inDomain):
|
def ipLookup(inDomain):
|
||||||
host = "N/A"
|
host = "N/A"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user