diff options
author | Guido Günther <agx@sigxcpu.org> | 2020-03-31 15:38:56 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2020-03-31 15:48:08 +0200 |
commit | 0c76122d5a111c06c3762f1dae73f75b4ac59df3 (patch) | |
tree | 622addbc769b81cb1d5aa0e402f587ae0addd77d | |
parent | 9bb401fd593372a189a643c4173e424678ca69e6 (diff) |
modemproxy: Remove code that's never reached
-rw-r--r-- | src/ppm/modemproxy.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ppm/modemproxy.py b/src/ppm/modemproxy.py index d3ee4b1..192c621 100644 --- a/src/ppm/modemproxy.py +++ b/src/ppm/modemproxy.py @@ -151,9 +151,6 @@ class ModemManagerProxy(GObject.GObject): return card.Get('(ss)', self.MM_DBUS_INTERFACE_SIM, 'Imsi') except Exception as msg: raise ModemError("Getting IMSI failed: %s" % msg) - if not re.match(self.IMSI_RE, imsi): - raise ModemError("%s is not a valid imsi" % imsi) - return imsi def get_network_id(self): imsi = self.get_imsi() |