diff options
author | Jan Luebbe <jluebbe@debian.org> | 2009-08-13 20:52:55 +0200 |
---|---|---|
committer | Harald Welte (local) <laflocal@hanuman.gnumonks.org> | 2009-08-13 20:52:55 +0200 |
commit | bf0d5bde907b6e50949051cf4543ac8f8caa631c (patch) | |
tree | fdcb01e2209bc95ac728186bb9dafa2125373e2b /hlrsync | |
parent | ee9afe332d3d3cb895293294d9bcc76451a6466c (diff) |
store imsi and tmsi, stop changing the row objects
Diffstat (limited to 'hlrsync')
-rwxr-xr-x | hlrsync/hlrsync.py | 7 |
1 files changed, 2 insertions, 5 deletions
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: |