aboutsummaryrefslogtreecommitdiffstats
path: root/server/xep_0077.py
diff options
context:
space:
mode:
authorGuillaume Horel <guillaume.horel@gmail.com>2012-01-16 23:24:40 -0500
committerGuillaume Horel <guillaume.horel@gmail.com>2012-01-16 23:24:40 -0500
commit2b679d318b65d090fb75668d26d6e85ea250b771 (patch)
tree5053a7f40c105f1883e31bc93994cf40a52bcbc5 /server/xep_0077.py
parent18ac8babb1d40b291468058d9125a1598434f543 (diff)
parent73b2c72961544b42229dd334fc75a20d52acff9b (diff)
downloadalias-2b679d318b65d090fb75668d26d6e85ea250b771.tar.gz
Merge branch 'master' of alias.fr.nf:alias
Diffstat (limited to 'server/xep_0077.py')
-rw-r--r--server/xep_0077.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/xep_0077.py b/server/xep_0077.py
index 1d3ab78..0608dc5 100644
--- a/server/xep_0077.py
+++ b/server/xep_0077.py
@@ -145,10 +145,10 @@ class xep_0077(base_plugin):
iq['error']['text'] = text
iq.send()
-if __name__=='__main__':
+if __name__ == '__main__':
test = Registration()
test.add_form()
print '{}\n'.format(test['form'])
values = {'privkey': 'pomme', 'pubkey': 'poire', 'salt': 'abricot'}
test['form']=values
- print test \ No newline at end of file
+ print test