SIDN / CycleHunter

Python software that reads zone files, extract NS records, and detect cyclic dependencies
https://tsuname.io
BSD 2-Clause "Simplified" License
37 stars 14 forks source link

lowe instead of lower #30

Closed bortzmeyer closed 3 years ago

bortzmeyer commented 3 years ago

In findCyclicDep.py, there is:

clearedZonesForOK.append(zone.lowe())

which is probably a typo.

bortzmeyer commented 3 years ago
Traceback (most recent call last):
  File "CycleHunter.py", line 54, in <module>
    find_cycles(output2, output3)
  File "/home/bortzmeyer/tmp/CycleHunter/findCyclicDep.py", line 1154, in find_cycles
    cyclic = sortDepsNew(zonesWoBailiwick)
  File "/home/bortzmeyer/tmp/CycleHunter/findCyclicDep.py", line 1024, in sortDepsNew
    clearedZonesForOK.append(zone.lowe())
AttributeError: 'str' object has no attribute 'lowe'
gmmoura commented 3 years ago

thanks for reporting, @bortzmeyer . this has been already fixed on #28