aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni@mandriva.com>2010-06-05 17:53:27 -0300
committerEugeni Dodonov <eugeni@mandriva.com>2010-06-05 17:53:27 -0300
commit6f0ba63e758810483fbc778be866cf2e0ad1358d (patch)
tree08bb3ba74d4fca84543b72b5a08c03fe86672aff /src
parentc1691dc269dd1f50e7f9d5c60bde9e776c093242 (diff)
downloadnet_monitor-6f0ba63e758810483fbc778be866cf2e0ad1358d.tar
net_monitor-6f0ba63e758810483fbc778be866cf2e0ad1358d.tar.gz
net_monitor-6f0ba63e758810483fbc778be866cf2e0ad1358d.tar.bz2
net_monitor-6f0ba63e758810483fbc778be866cf2e0ad1358d.tar.xz
net_monitor-6f0ba63e758810483fbc778be866cf2e0ad1358d.zip
do not output lots and lots of messages
Diffstat (limited to 'src')
-rw-r--r--src/monitor.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/monitor.py b/src/monitor.py
index da525be..88e16ff 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -58,17 +58,18 @@ class Monitor:
ret = _native.wifi_get_max_quality(iface)
return ret
except:
- traceback.print_exc()
+ # TODO: this happens when the card does not supports the settings
+ # but maybe we could log it somewhere..
return _("Unknown")
def wifi_get_ap(self, iface):
"""Gets access point address"""
- return _native.wifi_get_ap(iface)
try:
ret = _native.wifi_get_ap(iface)
return ret
except:
- traceback.print_exc()
+ # TODO: this happens when the card does not supports the settings
+ # but maybe we could log it somewhere..
return _("Unknown")
def wifi_get_essid(self, iface):