station_profile.py: improves debug formatting

Signed-off-by: Jed Reynolds <jed@bitratchet.com>
This commit is contained in:
Jed Reynolds
2022-02-01 16:02:49 -08:00
committed by shivam
parent 1d67c30d1a
commit addc19deaa

View File

@@ -572,7 +572,7 @@ class StationProfile:
self.station_names.append("%s.%s.%s" % (radio_shelf, radio_resource, name))
time.sleep(sleep_time)
logger.debug('StationProfile.create debug: {port}'.format(port=self.local_realm.json_get('/port/')))
logger.debug('StationProfile.create debug: {port}'.format(port=pformat(self.local_realm.json_get('/port/'))))
logger.debug("- ~3287 - waitUntilPortsAppear - - - - - - - - - - - - - - - - - - ")
rv = LFUtils.wait_until_ports_appear(self.lfclient_url, my_sta_eids, debug=debug, timeout=timeout)