1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-29 01:42:33 +01:00

Redundant regex

This commit is contained in:
David Paleino
2011-12-15 20:14:05 +01:00
parent 69e9e92def
commit 88463f7ced

View File

@@ -1485,8 +1485,6 @@ class BaseWirelessInterface(BaseInterface):
output = self.GetIwconfig()
else:
output = iwconfig
signaldbm_pattern = re.compile('.*Signal level:?=? ?(-\d\d*)',
re.I | re.M | re.S)
dbm_strength = misc.RunRegex(signaldbm_pattern, output)
return dbm_strength