Commit af5ef463 authored by Léo-Paul Géneau's avatar Léo-Paul Géneau 👾

Linter compliance

parent e1b07de3
......@@ -167,13 +167,13 @@ def get_yaml_file():
"""
dict_file = BASE_CONFIG.copy()
for if_name, if_value in Main.interfaces.items():
for if_name, _ in Main.interfaces.items():
dict_file["PIM-DM"]["Interfaces"][if_name] = {}
dict_file["PIM-DM"]["Interfaces"][if_name]["ipv4"] = {
"enabled": True,
}
for if_name, if_value in Main.interfaces_v6.items():
for if_name, _ in Main.interfaces_v6.items():
if if_name not in dict_file["PIM-DM"]["Interfaces"]:
dict_file["PIM-DM"]["Interfaces"][if_name] = {}
......
......@@ -8,7 +8,7 @@ from pimdm.Interface import Interface
from pimdm.packet.ReceivedPacket import ReceivedPacket
from pimdm import Main
from pimdm.rwlock.RWLock import RWLockWrite
from pimdm.packet.PacketPimHelloOptions import *
from pimdm.packet.PacketPimHelloOptions import PacketPimHelloHoldtime, PacketPimHelloGenerationID, PacketPimHelloStateRefreshCapable
from pimdm.packet.PacketPimHello import PacketPimHello
from pimdm.packet.PacketPimHeader import PacketPimHeader
from pimdm.packet.Packet import Packet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment