From bf0d5bde907b6e50949051cf4543ac8f8caa631c Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Thu, 13 Aug 2009 20:52:55 +0200 Subject: store imsi and tmsi, stop changing the row objects --- hlrsync/hlrsync.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'hlrsync') diff --git a/hlrsync/hlrsync.py b/hlrsync/hlrsync.py index b2a632b6f..4ff720bee 100755 --- a/hlrsync/hlrsync.py +++ b/hlrsync/hlrsync.py @@ -61,11 +61,8 @@ with web: UPDATE reg_tokens SET imsi = ?, extension = ?, tmsi = ?, lac = ? WHERE subscriber_id = ? - """, (str(subscr['imsi']), subscr['extension'], x['subscriber_id'])) - x['imsi'] = str(subscr['imsi']) - x['extension'] = subscr['extension'] - x['tmsi'] = subscr['tmsi'] - x['lac'] = subscr['lac'] + """, (str(subscr['imsi']), subscr['extension'], + subscr['tmsi'], subscr['lac'], x['subscriber_id'])) # add missing web_tokens with web: -- cgit v1.2.3