FIX: iterate code, redo later
This commit is contained in:
parent
ed36dbd7e1
commit
b056bfba8b
4
HTTPy.py
4
HTTPy.py
@ -18,7 +18,7 @@ def iterate(inArray):
|
|||||||
print count, inArray[count]
|
print count, inArray[count]
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|
||||||
def iterate(inArray, rec):
|
def iterateDig(inArray, rec):
|
||||||
count = 0
|
count = 0
|
||||||
while count != len(inArray) - 1:
|
while count != len(inArray) - 1:
|
||||||
print rec, inArray[count]
|
print rec, inArray[count]
|
||||||
@ -35,7 +35,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]
|
||||||
iterate(test, record) #fix up mutiple record types...
|
iterateDig(test, record) #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