Update py_scripts to be in line with pip standards

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-09-08 16:57:10 -07:00
parent 0be47c82de
commit 37df48594e
31 changed files with 260 additions and 235 deletions

View File

@@ -14,7 +14,7 @@ import argparse
from LANforge.lfcli_base import LFCliBase
from LANforge.LFUtils import *
from LANforge import LFUtils
import realm
from realm import Realm, PacketFilter
import time
import datetime
@@ -69,8 +69,8 @@ class TIPStationPowersave(LFCliBase):
self.powersave_sta_radio = powersave_station_radio_
self.sta_mac_map = {}
self.debug = debug_on_
self.packet_filter = realm.PacketFilter()
self.local_realm = realm.Realm(lfclient_host=self.host,
self.packet_filter = PacketFilter()
self.local_realm = Realm(lfclient_host=self.host,
lfclient_port=self.port,
debug_=self.debug)