summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Roose <stevenroose@gmail.com>2015-05-25 01:01:08 +0200
committerSteven Roose <stevenroose@gmail.com>2015-05-25 01:01:08 +0200
commit92901637ec068bb529c7a86fa8e348930f951e78 (patch)
treeeab8a783df9d3cb85c3edfc06f1c4051fcf56dc0
parenta8ac115310c1b9aaa80cc0d48a1157396b29abd3 (diff)
downloadslixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.gz
slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.bz2
slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.tar.xz
slixmpp-92901637ec068bb529c7a86fa8e348930f951e78.zip
Change to roster migration example
I did have the chance to test the script yet, but it seems like that line should be outside the for loop.
-rwxr-xr-xexamples/migrate_roster.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/migrate_roster.py b/examples/migrate_roster.py
index 797e4f44..9f679523 100755
--- a/examples/migrate_roster.py
+++ b/examples/migrate_roster.py
@@ -113,7 +113,7 @@ def on_session2(event):
new_xmpp.update_roster(jid,
name = item['name'],
groups = item['groups'])
- new_xmpp.disconnect()
+ new_xmpp.disconnect()
new_xmpp.add_event_handler('session_start', on_session2)
if new_xmpp.connect():