mirror of
https://github.com/gryf/wicd.git
synced 2026-01-07 14:24:22 +01:00
Redundant regex
This commit is contained in:
@@ -1485,8 +1485,6 @@ class BaseWirelessInterface(BaseInterface):
|
|||||||
output = self.GetIwconfig()
|
output = self.GetIwconfig()
|
||||||
else:
|
else:
|
||||||
output = iwconfig
|
output = iwconfig
|
||||||
signaldbm_pattern = re.compile('.*Signal level:?=? ?(-\d\d*)',
|
|
||||||
re.I | re.M | re.S)
|
|
||||||
dbm_strength = misc.RunRegex(signaldbm_pattern, output)
|
dbm_strength = misc.RunRegex(signaldbm_pattern, output)
|
||||||
return dbm_strength
|
return dbm_strength
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user