summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-08-23 15:50:45 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2017-08-23 15:50:50 +0200
commit132e9fe6d33ea096e11ad37656a85e820982b604 (patch)
tree10a620ad5f1036bbcf9b71aa29f7f400e5a56d5c
parentabc8fa5da1abf2805d59e07e27c0c4f3a8969bf0 (diff)
nitb: ctrl: Remove unused return statement in subscriber_add
In case of failure an exception is raised. If everything goes well no need to return True. Change-Id: I5194eeb9208f973da12f2fa710f2b3e7acd78fb5
-rw-r--r--src/osmo_gsm_tester/osmo_nitb.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/osmo_gsm_tester/osmo_nitb.py b/src/osmo_gsm_tester/osmo_nitb.py
index 9c15fe6..3b396fa 100644
--- a/src/osmo_gsm_tester/osmo_nitb.py
+++ b/src/osmo_gsm_tester/osmo_nitb.py
@@ -166,7 +166,6 @@ class OsmoNitbCtrl(log.Origin):
if not res:
raise RuntimeError('Cannot create subscriber %r (answer=%r)' % (imsi, answer_str))
self.dbg('Created subscriber', imsi=imsi, msisdn=msisdn)
- return True
def subscriber_list_active(self):
aslist_str = ""